PassportIdentity.IsAuthenticated Propiedad

Definición

Obtiene un valor que indica si el usuario se autenticó mediante la entidad emisora de Passport. Esta clase está en desuso.

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

Valor de propiedad

Boolean

true si el usuario se autenticó mediante un sitio central responsable de la autenticación de Passport; en caso contrario, false.

Implementaciones

Ejemplos

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

Comentarios

Esta clase está en desuso y ya no se admite. Microsoft Passport Network se reemplazó por Windows Live ID.

Se aplica a