Visual Basic (Declaration) | |
---|---|
Public Shared Function LogonUser( _ ByVal identityToken As UserNameSecurityToken, _ ByVal interactive As Boolean _ ) As ImpersonationContext |
C# | |
---|---|
public static ImpersonationContext LogonUser( UserNameSecurityToken identityToken, bool interactive ) |
Parameters
- identityToken
- interactive
Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows 7, Windows Server 2008 family