EasyUA Reference
LogonUser Method
See Also  Send Feedback
Opc.Ua.Core.Net4 Assembly > Opc.Ua Namespace > UserIdentity Class : LogonUser Method

identityToken
The identity token.
interactive
Whether to logon interactively (slow).

Glossary Item Box

Returns the windows principal associated with a user name security token.

Syntax

Visual Basic (Usage)Copy Code
Dim identityToken As UserNameSecurityToken
Dim interactive As Boolean
Dim value As ImpersonationContext
 
value = UserIdentity.LogonUser(identityToken, interactive)

Parameters

identityToken
The identity token.
interactive
Whether to logon interactively (slow).

Return Value

The impersonation context (must be disposed to reverse impersonation).

Requirements

Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2015, .NET4.x

See Also

Copyright © 2018 Advosol Inc. All Rights Reserved.