UserRole 2.5 Delete
This topic describes the function which can be used to delete an existing user role.
Parameters
| Name | Type | Direction | Description |
|---|---|---|---|
| psAuthContext | String | InOut | Deprecated proprietary authentication context only used by .ASMX web services based on internal username/password authentication. Claims based security standards drive all the WCF .SVC web services making this parameter redundant. |
| psUserRoleId | String | In | The element name of the user role (e.g. VUSERROLEADMINISTRATOR) |
Requirements are:
- Only an 'Administrator' user can update an user role.
Note that:
- Deleting a user role can only be done if no other object references the user role.
- Note that you can also disable the user role (see UserRole.Update).