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。

适用于