4.4.5 AddIdentity Method
This Method is used to add an identity mapping rule to a Role.
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
AddIdentity (
[in] IdentityMappingRuleType Rule
);
| Argument | Description |
| Rule | The rule to add. |
Method Result Codes
| ResultCode | Description |
| Bad_InvalidArgument | The rule is not valid. |
| Bad_RequestNotAllowed | The rule cannot be added to the Role because of Server imposed restrictions. |
| Bad_NotSupported | The rule is not supported by the Server. |
| Bad_AlreadyExists | An equivalent rule already exists. |
| Bad_ResourceUnavailable | The Server does not have enough resources to add the identity mapping. |
| Bad_UserAccessDenied | The session user is not allowed to configure the object. |
| Bad_SecurityModeInsufficient | The SecureChannel is not encrypted. |
The AddIdentity Method representation in the AddressSpace is formally defined in Table 14.
| Attribute | Value | ||||
| BrowseName | AddIdentity | ||||
| References | Node Class | BrowseName | DataType | TypeDefinition | Other |
|---|---|---|---|---|---|
| 0:HasProperty | Variable | 0:InputArguments | 0:Argument[] | 0:PropertyType | M |
| ConformanceUnits | |||||
|---|---|---|---|---|---|
| Security Role Server IdentityManagement |