TestimoX

API Reference

Enum

CxAccountPolicyField

Namespace ComputerX.Controls
Assembly ComputerX
Base Enum
Implements
IComparable ISpanFormattable IFormattable IConvertible
Modifiers sealed

A control over local SAM Account Policy (password and lockout settings) using NetUserModals APIs.

Inheritance

  • Enum
  • CxAccountPolicyField

Values

public const CxAccountPolicyField MinPasswordLength #

Minimum password length (characters). Higher is stricter.

Value: 0
public const CxAccountPolicyField MaxPasswordAgeDays #

Maximum password age (days). Lower is stricter.

Value: 1
public const CxAccountPolicyField MinPasswordAgeDays #

Minimum password age (days). Higher is stricter.

Value: 2
public const CxAccountPolicyField PasswordHistorySize #

Password history size (count). Higher is stricter.

Value: 3
public const CxAccountPolicyField AccountLockoutThreshold #

Account lockout threshold (attempts). Lower is stricter.

Value: 4
public const CxAccountPolicyField AccountLockoutDurationMins #

Account lockout duration (minutes). Higher is stricter.

Value: 5
public const CxAccountPolicyField ResetLockoutCounterAfterMins #

Reset lockout counter after (minutes). Lower is stricter.

Value: 6