PassportIdentity.HasSavedPassword 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得是否已儲存 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 取代。
適用於
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應