DOMAIN_PASSWORD_INFORMATION structure
Applies to: desktop apps only
The DOMAIN_PASSWORD_INFORMATION structure contains information about a domain's password policy, such as the minimum length for passwords and how unique passwords must be.
It is used in the MSV1_0_CHANGEPASSWORD_RESPONSE structure.
Syntax
typedef struct _DOMAIN_PASSWORD_INFORMATION {
USHORT MinPasswordLength;
USHORT PasswordHistoryLength;
ULONG PasswordProperties;
LARGE_INTEGER MaxPasswordAge;
LARGE_INTEGER MinPasswordAge;
} DOMAIN_PASSWORD_INFORMATION, *PDOMAIN_PASSWORD_INFORMATION;
Members
- MinPasswordLength
-
Specifies the minimum length, in characters, of a valid password.
- PasswordHistoryLength
-
Indicates the number of previous passwords saved in the history list. A user cannot reuse a password in the history list.
- PasswordProperties
-
Flags that describe the password properties. They can be one or more of the following values.
- MaxPasswordAge
-
Specifies the maximum length of time that a password can remain the same. Passwords older than this must be changed. Because SAM stores relative times as negative values and absolute times as positive numbers, the time is stored as a FILETIME structure with negative values.
The data type for this member is OLD_LARGE_INTEGER if MIDL_PASS is defined.
- MinPasswordAge
-
Specifies the minimum length of time before a password can be changed. Because SAM stores relative times as negative values and absolute times as positive numbers, the time is stored as a FILETIME structure with negative values.
The data type for this member is OLD_LARGE_INTEGER if MIDL_PASS is defined.
Requirements
|
Minimum supported client | Windows 2000 Professional |
|---|---|
|
Minimum supported server | Windows 2000 Server |
|
Header |
|
Send comments about this topic to Microsoft
Build date: 3/13/2012