PassportIdentity.IsAuthenticated Propriedade

Definição

Obtém um valor que indica se o usuário é autenticado em uma autoridade de Passport. Essa classe foi preterida.

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

Valor da propriedade

Boolean

true se o usuário for autenticado em um site central responsável pela autenticação do Passport; caso contrário, false.

Implementações

Exemplos

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

Comentários

Essa classe foi preterida e não tem mais suporte. O Microsoft Passport Network foi substituído pelo Windows Live ID.

Aplica-se a