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 includeSubOrgs is TRUE, all objects of the specified type are within a search’s scope and result. Otherwise, only objects in the requested organization (or root if tenantId=null) are searched. |
• | To limit the number of objects to return, set maxRecords to the desired number. To allow an infinite number of objects, set maxRecords to 0. |
To call findRoles:
The return is:
Recommended Comments
There are no comments to display.