다음을 통해 공유


PassportIdentity.IsAuthenticated 속성

정의

사용자가 Passport 인증 기관에서 인증되었는지 여부를 나타내는 값을 가져옵니다. 이 클래스는 사용되지 않습니다.

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

속성 값

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로 대체되었습니다.

적용 대상