Changes the identity of the client application’s user. Future access to any security objects will be authorized 
            with the new user’s credentials until a subsequent call to Logoff() or Logon(). 
            For OPC Servers which also implement IOPCSecurityNT, access checking with NT credentials will be disabled until Logoff() is called.
            
            
            
            
Syntax
            Parameters
- userID
 
- The user’s logon name; for logons in NT domains this string contains also the domain name, e.g., “OPC\Ben”
 - password
 
- The user’s password.
 
            
            Return Value
HRESULTS error/succes code as defined by OPC
 
            
						
            
            
            
            
            
            
            
Requirements
 
Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2016, .NET 4.x
            
            
See Also