1.0.1 findRoles¶
In findRoles, the parameter criteria has the type WSRoleSearchCriteria and returns type WSRole.
criteria can be a rolename mask, an organization/tenant ID, includeSubOrgs, a list of required users or roles, and maxRecords. Null values indicate "any."
- The mask has a SQL-like notation. For instance,
Ad%,U2_. - When
includeSubOrgsis TRUE, all objects of the specified type are within a search’s scope and result. Otherwise, only objects in the requested organization (or root iftenantId=null) are searched. - To limit the number of objects to return, set
maxRecordsto the desired number. To allow an infinite number of objects, setmaxRecordsto 0.
To call findRoles:
|
The return is:
|