This Method is used to add a user to the user management of the Server.
The Client shall use an encrypted channel and shall provide user credentials with administrator rights like SecurityAdmin Role when invoking this Method on the Server.
Signature
AddUser (
[in]String UserName,
[in]String Password,
[in]UserConfigurationMaskUserConfiguration,
[in]String Description
);
Argument |
Description |
UserName |
The name of the user to add. |
Password |
The password for the user. |
UserConfiguration |
The configuration mask for the user. |
Description |
A description for the user. |
Method Result Codes
ResultCode |
Description |
Bad_AlreadyExists |
The user does already exist. |
Bad_OutOfRange |
The password is outside the valid range of accepted length and characters. |
Bad_NotSupported |
The UserConfiguration has flags set that are not supported by the Server. See PasswordOptions for flags supported by the Server. |
Bad_ConfigurationError |
The UserConfiguration has invalid combinations of flags set. |
Bad_UserAccessDenied |
The caller does not have the necessary Permissions. |
Bad_SecurityModeInsufficient |
The communication channel is not using encryption. |
Bad_ResourceUnavailable |
The Server does not have enough resources to add the user. |