profile_getPrincipals

Gets information for users and groups in the installation.

Syntax

public PrincipalCollection profile_getPrincipals( String accessToken, int firstRecord, int maxRecords );

Description

The profile_getPrincipals operation gets information for users and groups in the installation. Because the set of information is potentially very large, you can use successive calls to this operation to receive manageable subsets of information for each call.

Parameters and Return Value

accessToken

Either the security token passed to your application by Teaming as part of implementing a remote application, or the null value.

firstRecord

The number of the record (information about one user or group) to begin returning. Use this parameter to page the returned list of principals.

The number of the first record 0.

maxRecords

The largest number of records you want returned in this call. For an unlimited number specify -1.

return_value

A PrincipalCollection Java objection containing information about the set of users and groups you requested.

See Also