Επεξεργασία

Κοινή χρήση μέσω


ClientFormsAuthenticationCredentials.RememberMe Property

Definition

Gets or sets a value indicating whether the user credentials should be saved and reused for subsequent login attempts.

public:
 property bool RememberMe { bool get(); void set(bool value); };
public bool RememberMe { get; set; }
member this.RememberMe : bool with get, set
Public Property RememberMe As Boolean

Property Value

true if the credentials should be saved and reused; otherwise, false.

Remarks

The ClientFormsAuthenticationMembershipProvider class uses this property during authentication. You will not typically use this property in your application code. Instead, you will specify a rememberMe parameter value in the class constructor.

Applies to

See also