You are here

getPersonIdentifier

public String getPersonIdentifier() returns a string representing the username for the current repository session.

Parameters

None

Returns

Returns a string representing the username for the current repository session user.

Example


    try {

      RepositorySession session = RepositorySession.connect(url, username, password);

      if (session) {
 
			   String person = session.getPersonIdentifier()); 		
				 ...
					
		  } else {

		     Log.d(TAG, "No Session available!");

		  }
		} catch (AlfrescoSessionException e) {
				Log.e(TAG, "Failed to connect: " + e.toString());
		}