Partilhar via


IsApproved Property

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Gets or sets a value indicating whether the membership user can be authenticated.

Namespace:  Microsoft.CommerceServer.Runtime.Profiles
Assembly:  Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)

Syntax

'Declaration
Public Overrides Property IsApproved As Boolean
'Usage
Dim instance As UpmMembershipUser
Dim value As Boolean

value = instance.IsApproved

instance.IsApproved = value
public override bool IsApproved { get; set; }
public:
virtual property bool IsApproved {
    bool get () override;
    void set (bool value) override;
}
public override function get IsApproved () : boolean
public override function set IsApproved (value : boolean)

Property Value

Type: System..::.Boolean
true if the user can be authenticated; otherwise false.

Remarks

Stores a value indicating whether the membership user can be authenticated.

The UpmMembershipUser value for a membership user is checked during the call to ValidateUser by the UpmMembershipProvider. If the IsApproved property returns false, the ValidateUser method returns false even if the supplied user name and password are correct.

Permissions

See Also

Reference

UpmMembershipUser Class

UpmMembershipUser Members

Microsoft.CommerceServer.Runtime.Profiles Namespace