Create or update Role

Support for SOAP is deprecated starting with Unifier 23.10.

Description

This method creates (and updates) Resource Manager Roles.

Support

This method can only support creating and updating Roles at the company level.

Installation: ASP and Self host

Level Yes or No
Company Level Yes
Project/Shell Level No

Prototype

public XMLObject createUpdateRole (String shortname, String authcode, String rolesXML);

Parameters

Parameter Description
shortname identifier of the company, company's short name
authcode authentication key for the company, in text string
rolesXML Information of the role(s) that must be created or updated

Return Value

See Appendix B: Return Values.

Sample Method

createUpdateRole("acme", "acme_authcode", "XML")

Additional Information

_role tag can be repeated to create multiple roles.

Role name will be used as a unique identifier to update existing role information.

Value of <role_currency> element should be valid. For a list of valid country names, see Currency.