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 では共有) メンバーは、すべてスレッド セーフです。インスタンス メンバーはすべて、スレッド セーフであることが保証されません。

プラットフォーム

開発プラットフォーム

Windows Server 2003, Windows Vista

Target Platforms

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

関連項目

参照

S4UClient クラス
S4UClient メンバー
Microsoft.IdentityModel.WindowsTokenService 名前空間