6.5.8 UnregisterApplication

The UnregisterApplication Method is used to remove an application from a GlobalDiscoveryServer.

This Method shall be called from an authenticated SecureChannel and from a Client that has access to the DiscoveryAdmin Role, the ApplicationSelfAdmin Privilege, or the ApplicationAdmin Privilege (see 6.2).

A Server application that is unregistered may be automatically added again if the GDS is configured to populate itself by calling FindServersOnNetwork and the Server application is still registered with its local LDS.

If an application has Certificates issued by the CertificateManager, these Certificates shall be revoked when this Method is called.

If un-registration was successful and auditing is supported, the GDS shall generate the ApplicationRegistrationChanged AuditEventType (see 6.5.12).

Signature

UnregisterApplication(
	[in] NodeId ApplicationId
);
Argument Description
ApplicationIdThe identifier assigned by the GDS to the application.

Method Result Codes (defined in Call Service)

Result Code Description
Bad_NotFoundThe ApplicationId is not known to the GDS.
Bad_UserAccessDeniedThe current user does not have the rights required to unregister the application.
Bad_SecurityModeInsufficientThe SecureChannel is not authenticated.

Table 11 specifies the AddressSpace representation for the UnregisterApplication Method.

Table 11 – UnregisterApplication Method AddressSpace Definition
Attribute Value
BrowseName2:UnregisterApplication
References NodeClass BrowseName DataType TypeDefinition ModellingRule
0:HasPropertyVariable0:InputArguments0:Argument[] 0:PropertyTypeMandatory