Updates the given role details
Namespace: CelloSaaS.BusinessEdition.ServiceProxies.AccessControlManagementAssembly: CelloSaaS.BusinessEdition (in CelloSaaS.BusinessEdition.dll) Version: 4.3.1.0 (4.3.1.0)
Syntax
Parameters
- roleIdentifier
- Type: System String
Role Identifier(Mandatory)
- description
- Type: System String
- qualifierQuery
- Type: System String
Qualifier query
Return Value
Type: StringUpdated Role Identifier
Exceptions
Exception | Condition |
---|---|
System.Data DataException | If rule name is duplicate. |
[!:CelloSaaS.ServiceContracts.AccessControlManagement.RoleException] | If pre or post processor was not updated. |
System ArgumentNullException | If role id or role name or description is null. |
System ArgumentException | If role details is null. |
Examples
public void UpdateRole() { string roleIdentifier = "GR$Tenant_Admin"; string description = "Tenant Admin Role"; string qualifierQuery = string.Empty; string roleId = RoleProxy.UpdateRole(roleIdentifier, description, qualifierQuery); }
See Also