4.4.7 AddApplication Method

This Method is used to add an application 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

	AddApplication (
		[in]	String ApplicationUri
		);
	
Argument Description
ApplicationUriThe ApplicationUri for the application.

Method Result Codes

ResultCode Description
Bad_InvalidArgument The ApplicationUri is not valid.
Bad_RequestNotAllowedThe mapping cannot be added to the Role because of Server imposed restrictions.
Bad_AlreadyExistsThe ApplicationUri is already assigned to the Role.
Bad_UserAccessDeniedThe session user is not allowed to configure the object.
Bad_SecurityModeInsufficientThe SecureChannel is not encrypted.
Bad_ResourceUnavailableThe Server does not have enough resources to add the application.

The AddApplication Method representation in the AddressSpace is formally defined in Table 16.

Table 16 – AddApplication Method AddressSpace definition
Attribute Value
BrowseNameAddApplication
References Node Class BrowseName DataType TypeDefinition Other
0:HasPropertyVariable0:InputArguments0:Argument[] 0:PropertyTypeM
ConformanceUnits
Security Role Server Restrict Applications