PassportIdentity.IsAuthenticated プロパティ

定義

ユーザーが Passport 権限で認証されているかどうかを示す値を取得します。 このクラスは非推奨とされます。

public:
 property bool IsAuthenticated { bool get(); };
public bool IsAuthenticated { get; }
member this.IsAuthenticated : bool
Public ReadOnly Property IsAuthenticated As Boolean

プロパティ値

ユーザーが Passport 認証を行う中央サイトで認証されている場合は true。それ以外の場合は false

実装

// Declare new PassportIdendity object as variable newPass.
System.Web.Security.PassportIdentity newPass = new System.Web.Security.PassportIdentity();
// Set the string sIsAuth to the users SignIn status (a boolean) converted to a string.
String sIsAuth = newPass.IsAuthenticated.ToString();
' Declare new PassportIdendity object as variable newPass.
Dim newPass As System.Web.Security.PassportIdentity = New System.Web.Security.PassportIdentity()
' Set the string sIsAuth to the users SignIn status (a boolean) converted to a string.
Dim sIsAuth As String = newPass.IsAuthenticated.ToString()

注釈

このクラスは非推奨となり、サポートされなくなりました。 Microsoft Passport Network は Windows Live ID に置き換えられました。

適用対象