Partilhar via


RequiresApproval Property

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

Gets a value indicting whether newly created users require approval in order to log on.

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

Syntax

'Declaration
Public ReadOnly Property RequiresApproval As Boolean
'Usage
Dim instance As UpmMembershipSettings
Dim value As Boolean

value = instance.RequiresApproval
public bool RequiresApproval { get; }
public:
property bool RequiresApproval {
    bool get ();
}
public function get RequiresApproval () : boolean

Property Value

Type: System..::.Boolean
true to indicate that the new users require approval to log on; otherwise, false. Default is false.

Remarks

Returns a value indicting whether or not newly created users require approval in order to log on. This is tracked through account status so EnableAccountStatus must be true.

Permissions

See Also

Reference

UpmMembershipSettings Class

UpmMembershipSettings Members

Microsoft.CommerceServer.Runtime.Profiles Namespace