Share via


S4UClient.UpnLogon 메서드

Creates an impersonate-capable WindowsIdentity from a Kerberos unique principal name (UPN) by using the local WindowsTokenService.

네임스페이스: Microsoft.IdentityModel.WindowsTokenService
어셈블리: Microsoft.IdentityModel(microsoft.identitymodel.dll에 있음)

사용법

    Dim upn As String
Dim returnValue As WindowsIdentity

returnValue = S4UClient.UpnLogon(upn)

구문

‘선언
Public Shared Function UpnLogon ( _
    upn As String _
) As WindowsIdentity
public static WindowsIdentity UpnLogon (
    string upn
)
public:
static WindowsIdentity^ UpnLogon (
    String^ upn
)
public static WindowsIdentity UpnLogon (
    String upn
)
public static function UpnLogon (
    upn : String
) : WindowsIdentity

매개 변수

  • upn
    The Kerberos unique principal name (UPN) of the windows identity desired.

반환 값

Returns WindowsIdentity.

스레드 안전성

이 유형의 공용 정적(Visual Basic에서는 Shared) 멤버는 모두 스레드로부터 안전합니다.인스턴스 멤버는 스레드로부터 안전하지 않을 수 있습니다.

플랫폼

개발 플랫폼

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2008, Windows Vista, Not tested on Windows XP

참고 항목

참조

S4UClient 클래스
S4UClient 멤버
Microsoft.IdentityModel.WindowsTokenService 네임스페이스