You are here

getCompany

public Company getCompany() returns a Company object representing the Company information from a person's profile.
Attention: Introduced in SDK version 1.3.

Parameters

None

Returns

Returns a Company object representing the Company information from a person's profile. Returns null if not available.

Example


    PersonService ps = session.getServiceRegistry().getPersonService();
    
    Person p = ps.getPerson("joeuser");
    
    Company c = p.getCompany());
    
    Log.d(TAG, "Company name: " + c.getName());


      

Would produce output such as the following:


Company name: SkyVault Software, Inc