openmrs-android-sdk/src/main/java/com/openmrs/android_sdk/library/OpenmrsAndroid.java
/**
     * Clear current logged in user info.
     */
Clear current logged in user info.
Clear current logged in user info .
public static void clearCurrentLoggedInUserInfo() {
        SharedPreferences prefs = OpenmrsAndroid.getOpenMRSSharedPreferences();
        SharedPreferences.Editor editor = prefs.edit();
        editor.remove(ApplicationConstants.UserKeys.USER_PERSON_NAME);
        editor.remove(ApplicationConstants.UserKeys.USER_UUID);
        editor.apply();
    }
public static void clearCurrentLoggedInUserInfo ( ) { SharedPreferences prefs = OpenmrsAndroid . getOpenMRSSharedPreferences ( ) ; SharedPreferences . Editor editor = prefs . edit ( ) ; editor . remove ( ApplicationConstants . UserKeys . USER_PERSON_NAME ) ; editor . remove ( ApplicationConstants . UserKeys . USER_UUID ) ; editor . apply ( ) ; }
Clear current logged in user info.
Clear current logged in user info .