S4UClient.UpnLogon Method
Windows Identity Foundation
Creates an impersonate-capable WindowsIdentity from a Kerberos unique principal name (UPN) by using the local claims to Windows Token Service (c2WTS).
Namespace: Microsoft.IdentityModel.WindowsTokenService
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)
Dim upn As String Dim returnValue As WindowsIdentity returnValue = S4UClient.UpnLogon(upn)
Parameters
- upn
The Kerberos unique principal name (UPN) of the Windows identity desired.
Return Value
Returns WindowsIdentity. The Windows user specified by the UPN.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.