You are here

getEmail

public String getEmail() returns the email address from the person's profile.
Attention: Introduced in SDK version 1.3.

Parameters

None

Returns

Returns a String representing the email address from a person's profile. Returns null if not available.

Example


    PersonService ps = session.getServiceRegistry().getPersonService();
    
    Person p = ps.getPerson("joeuser");
    
    Log.d(TAG, "email: " + p.getEmail());

      

Would produce output such as the following:


email: joe.user@alfresco.com