This Methodis used to remove a userfrom the user management of the Server.

This Methodaffects security and shall only be browseable and callable by authorized administrators and requires an encrypted channel.

If the user of the Sessionused to call the Methodis to be removed, the Methodshall 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 NoDeleteuser configuration mask setting.

Bad_SecurityModeInsufficient

The communication channel is not using encryption.

Bad_InvalidSelfReference

The user to remove is used by the Sessionused to call the Method.