Description
This method gets a list of roles created at company level.
Support
This method is only supported at company level.
Installation: ASP and Self host
Level | Yes or No |
---|---|
Company Level | Yes |
Project and Shell Level | No |
Prototype
public XMLObject getRoleList (String shortname, String authcode, String filterCondition);
Parameters
Parameter | Description |
---|---|
shortname | identifier of the company, company’s short name |
authcode | authentication key for the company, in text string |
filtercondition | Condition based on which list of roles can be filtered |
Return Value
See Return Values
Sample Method
getRoleList("acme", "acme_authcode",uuu_role_status=Active)
Additional Information
Only one filter condition can be provided at a time.
Only operator available for filter condition will be "=".
Example:
If user wants to get a list of roles with status Active then filterCondition should be <filterCondition>uuu_role_status = Active</filterCondition>
If user wants to get a role with name "Architect" then filterCondition should be <filterCondition>uuu_role_name = Architect</filterCondition>.