For DA servers there is an instance for each client connection. For UA servers an instance is a session. The application may use this information to give some clients special access rights or restrict the access for some clients. E.g. deny write access or read/write access to certain items. For DA servers the information may not be helpful since the always available user account information may be the same for all clients, the client application neeed to set define a name using the SetClientName OPC function. For UA server the user account information is either "ANonymous", the user name or the certificate name, depending on the endpoint configuration.
Visual Basic (Declaration) | |
---|---|
Public Class ServerInstanceInfo |
C# | |
---|---|
public class ServerInstanceInfo |
System.Object
NSPlugin.ServerInstanceInfo
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2