PassportIdentity.HasSavedPassword Property

Gets information on whether the Passport member's password was saved.

Namespace: System.Web.Security
Assembly: System.Web (in system.web.dll)

'Declaration
Public ReadOnly Property HasSavedPassword As Boolean
'Usage
Dim instance As PassportIdentity
Dim value As Boolean

value = instance.HasSavedPassword

/** @property */
public boolean get_HasSavedPassword ()

public function get HasSavedPassword () : boolean

Not applicable.

Property Value

true if the Passport member's ticket indicates that the password was saved on the Passport logon page the last time the ticket was refreshed; otherwise, false.

For more information, see the Passport SDK documentation in the MSDN Library at http://msdn.microsoft.com/library.

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

// 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 = System.Convert.ToString(newPass.get_HasTicket());

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0

Community Additions

ADD
Show: