PassportIdentity.IsAuthenticated Vlastnost

Definice

Získá hodnotu určující, zda je uživatel ověřen vůči autoritě Passport. Tato třída je zastaralá.

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

Hodnota vlastnosti

Boolean

true pokud se uživatel ověřuje na centrálním webu zodpovědném za ověřování Passportem; falsev opačném případě .

Implementuje

Příklady

// 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()

Poznámky

Tato třída je zastaralá a už se nepodporuje. Služba Microsoft Passport Network byla nahrazena službou Windows Live ID.

Platí pro