PasswordLockoutPeriod Property
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Gets the amount of time 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 ReadOnly Property PasswordLockoutPeriod As TimeSpan
'Usage
Dim instance As UpmMembershipSettings
Dim value As TimeSpan
value = instance.PasswordLockoutPeriod
public TimeSpan PasswordLockoutPeriod { get; }
public:
property TimeSpan PasswordLockoutPeriod {
TimeSpan get ();
}
public function get PasswordLockoutPeriod () : TimeSpan
Property Value
Type: System..::.TimeSpan
The amount of time that a user is locked out after failed password attempts. Default is 0.
Remarks
Returns the amount of time, 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.