Share 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 ReadOnly Property PasswordAttemptWindow As TimeSpan
'Usage
Dim instance As UpmMembershipSettings
Dim value As TimeSpan

value = instance.PasswordAttemptWindow
public TimeSpan PasswordAttemptWindow { get; }
public:
property TimeSpan PasswordAttemptWindow {
    TimeSpan get ();
}
public function get PasswordAttemptWindow () : TimeSpan

Property Value

Type: System..::.TimeSpan
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

UpmMembershipSettings Class

UpmMembershipSettings Members

Microsoft.CommerceServer.Runtime.Profiles Namespace