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)
'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
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.
Returns the number of attempts a user is allowed to make within PasswordAttemptWindow before they are locked out.
- 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.