UnregisterApplication 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).
This Method shall only be invoked by authorized users.
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 registering 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.6.12).
Signature
UnregisterApplication(
[in] NodeId applicationId
);
Argument |
Description |
applicationId |
The identifier assigned by the GDS to the Application. |
Method Result Codes (defined in Call Service)
Result Code |
Description |
Bad_NotFound |
The applicationId is not known to the GDS. |
Bad_UserAccessDenied |
The current user does not have the rights needed to unregister the application. |
Table 11 specifies the AddressSpace representation for the UnregisterApplication Method.
Table 11 – UnregisterApplication Method AddressSpace Definition
Attribute |
Value |
||||
BrowseName |
2:UnregisterApplication |
||||
References |
NodeClass |
BrowseName |
DataType |
TypeDefinition |
ModellingRule |
0:HasProperty |
Variable |
0:InputArguments |
0:Argument[] |
0:PropertyType |
Mandatory |