Compartilhar via


PasswordAttemptWindow Property

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

Gets the number of minutes in which a maximum number of invalid password or password answer attempts are 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 PasswordAttemptWindow As Integer
'Usage
Dim instance As UpmMembershipProvider
Dim value As Integer

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

Property Value

Type: System..::.Int32
The number of minutes in which a maximum number of invalid password or password answer attempts are allowed before the membership user is locked out.

Remarks

Returns the amount of time in which a user's bad passwords are counted towards a lockout.

Returns the time window, in minutes, during which consecutive of invalid password or password answer attempts are tracked. If the interval between each failed attempt is greater than the PasswordAttemptWindow property setting, the UpmMembershipProvider instance treats each failed attempt as if it were the first failed attempt.

Permissions

See Also

Reference

UpmMembershipProvider Class

UpmMembershipProvider Members

Microsoft.CommerceServer.Runtime.Profiles Namespace