System.Web.Security.MembershipUser.IsApproved Property

Gets or sets whether the membership user can be authenticated.

Syntax

public virtual bool IsApproved { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

The MembershipUser.IsApproved value for a membership user is checked during the call to Membership.ValidateUser(string, string) by the System.Web.Security.SqlMembershipProvider. If the MembershipUser.IsApproved property is set to false, the Membership.ValidateUser(string, string) method returns false even if the supplied user name and password are correct.

Requirements

Namespace: System.Web.Security
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0