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.

The AddUser Method representation in the AddressSpace is formally defined in Table 28.

Table 28 – AddUser Method AddressSpace definition

Attribute

Value

BrowseName

AddUser

References

Node Class

BrowseName

DataType

TypeDefinition

Other

0:HasProperty

Variable

0:InputArguments

0:Argument[]

0:PropertyType

M

ConformanceUnits

Security User Management Server