5 User Management Model ToC Previous

5.2 UserManagementType ToC Previous Next

5.2.5 AddUser Method ToC Previous Next

This Method is used to add a user to 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.


AddUser (
[in]	String 			UserName,
[in]	String 			Password,
[in]	UserConfigurationMask	UserConfiguration,
[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_BadAlreadyExists 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_UserAccessDenied The caller does not have the necessary Permissions.
Bad_SecurityModeInsufficient The communication channel is not using encryption.

Previous Next