Partager via


MaximumInvalidPasswordAttempts 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)

Syntax

'Declaration
Public ReadOnly Property MaximumInvalidPasswordAttempts As Integer
'Usage
Dim instance As UpmMembershipSettings
Dim value As Integer

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

Property Value

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.

Remarks

Returns the number of attempts a user is allowed to make within PasswordAttemptWindow before they are locked out.

Permissions

See Also

Reference

UpmMembershipSettings Class

UpmMembershipSettings Members

Microsoft.CommerceServer.Runtime.Profiles Namespace