Partilhar via


PasswordLockoutPeriod Property

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

Gets the amount of time, in minutes, that a user is locked out of the system when the MaxInvalidPasswordAttempts is exceeded within PasswordAttemptWindow.

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

Syntax

'Declaration
Public Overridable ReadOnly Property PasswordLockoutPeriod As Integer
'Usage
Dim instance As UpmMembershipProvider
Dim value As Integer

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

Property Value

Type: System..::.Int32
The amount of time, in minutes, that a user is locked out after failed password attempts. Default is 0.

Remarks

Returns the amount of time, in minutes, that a user is locked out after failed password attempts.

A returned value of 0 represents that user is locked out until the administrator unlocks the user by calling UnlockUser.

Permissions

See Also

Reference

UpmMembershipProvider Class

UpmMembershipProvider Members

Microsoft.CommerceServer.Runtime.Profiles Namespace