PassportIdentity.HasSavedPassword Property
.NET Framework 3.0
Gets information on whether the Passport member's password was saved.
Namespace: System.Web.Security
Assembly: System.Web (in system.web.dll)
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.' 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());
Community Additions
ADD
Show: