Freigeben über


MaxInvalidPasswordAttempts Property

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

Gets the number of invalid password or password answer attempts allowed before the membership user is locked out.

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

Syntax

'Declaration
Public Overrides ReadOnly Property MaxInvalidPasswordAttempts As Integer
'Usage
Dim instance As UpmMembershipProvider
Dim value As Integer

value = instance.MaxInvalidPasswordAttempts
public override int MaxInvalidPasswordAttempts { get; }
public:
virtual property int MaxInvalidPasswordAttempts {
    int get () override;
}
public override function get MaxInvalidPasswordAttempts () : int

Property Value

Type: System..::.Int32
The number of failed password or password answer attempts a user is allowed before the user is locked out. Default is 5.

Remarks

Returns the number of attempts a user is allowed to make within PasswordAttemptWindow before they are locked out.

Permissions

See Also

Reference

UpmMembershipProvider Class

UpmMembershipProvider Members

Microsoft.CommerceServer.Runtime.Profiles Namespace