This Method is used to remove a user from the user management of the Server.
This Method affects security and shall only be browseable and callable by authorized administrators and requires an encrypted channel.
If the user of the Session used to call the Method is to be removed, the Method shall fail with Bad_InvalidSelfReference.
Signature
RemoveUser (
[in]String UserName
);
Argument |
Description |
UserName |
The name of the user to remove. |
Method Result Codes
ResultCode |
Description |
Bad_BadNotFound |
The specified user does not exist. |
Bad_UserAccessDenied |
The caller does not have the necessary Permissions. |
Bad_NotSupported |
The user cannot be deleted due to NoDelete user configuration mask setting. |
Bad_SecurityModeInsufficient |
The communication channel is not using encryption. |
Bad_InvalidSelfReference |
The user to remove is used by the Session used to call the Method. |