This topic has not yet been rated - Rate this topic

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)
public static WindowsIdentity UpnLogon (
	string upn
)
public static WindowsIdentity UpnLogon (
	String upn
)
public static function UpnLogon (
	upn : String
) : WindowsIdentity

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.

 

Target Platforms

Windows 7, Windows Server 2008 R2, Windows Vista SP2, Windows Server 2008 SP2, Windows Server 2003 SP2 (32-bit or 64-bit)
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ