PassportIdentity.HasSavedPassword 屬性

定義

取得是否已儲存 Passport 成員密碼的相關資訊。 這個類別已被取代。

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

屬性值

如果 Passport 成員的票證表示密碼在上一次票證重新整理時儲存於 Passport 登入頁面,則為 true,否則為 false

範例

// Declare new PassportIdendity object as variable newPass.
System.Web.Security.PassportIdentity newPass = new System.Web.Security.PassportIdentity();
// Set a string variable that indicates whether the user has a valid Passport ticket.
String sHasTick = newPass.HasTicket.ToString();
' Declare new PassportIdendity object as variable newPass.
Dim newPass As System.Web.Security.PassportIdentity = New System.Web.Security.PassportIdentity()
' Create a string variable that indicates whether the user has a valid Passport ticket.
Dim sHasTick As String = newPass.HasTicket.ToString()

備註

此類別已被取代,不再支援。 Microsoft Passport 網路已由 Windows Live ID 取代。

適用於