This Methodis used to remove a Role from the RoleSet Object.
The RoleNodeIdis the NodeIdof the Role Objectto remove.
The Servermay prohibit the removal of some Rolesbecause they are necessary for the Serverto function.
If a Roleis removed all Permissionsassociated with the Roleare deleted as well. Ideally these changes should take effect immediately; however, some lag may occur.
This Method affects security and shall only be browseable and callable by authorized administrators.
Signature
RemoveRole(
[in]NodeId RoleNodeId
);
Argument |
Description |
RoleNodeId |
The NodeIdof the Role Object. |
Method Result Codes
ResultCode |
Description |
Bad_NodeIdUnknown |
|
Bad_NotSupported |
The Serverdoes not allow the Role Objectto be removed. |
Bad_UserAccessDenied |
The caller does not have the necessary Permissions. |
Bad_RequestNotAllowed |
The specified Role Object cannot be removed. |