You are here

isMember

public boolean isMember() returns a boolean, true if the current user is a member of the site.

Parameters

None

Returns

Returns a boolean, true if the current user is a member of the site.

Example


    SiteService ss = session.getServiceRegistry()
    		.getSiteService();		
    
    Site site = ss.getSite("testsite");
    
    Log.d(TAG, "isMember: " + site.isMember());
  ...

    

Would result in output such as the following:


    isMember: True
        
      
Note: This method was added in version 1.1.