The methods of the IADsDomain interface read and write the properties described in this topic. For more information see Interface Property Methods.
| Property | Access | Method Prototype |
|---|---|---|
| AutoUnlockInterval | R/W | HRESULT get_AutoUnlockInterval ([out] LONG *plAutoUnlockInterval);
HRESULT put_AutoUnlockInterval |
| IsWorkgroup | R/O | HRESULT get_IsWorkgroup ([out] VARIANT_BOOL *retval); |
| LockoutObservationInterval | R/W | HRESULT get_ LockoutObservationInterval ([out] LONG *plLockoutObservationInterval);
HRESULT put_ |
| MinPasswordAge | R/W | HRESULT get_MinPasswordAge ([out] LONG *plMinPasswordAge);
HRESULT put_MinPasswordAge |
| MinPasswordLength | R/W | HRESULT get_MinPasswordLength ([out] LONG *plMinPasswordLength);
HRESULT put_MinPasswordLength |
| MaxBadPasswordsAllowed | R/W | HRESULT get_ MaxBadPasswordsAllowed ([out] LONG *plMaxBadPasswordsAllowed);
HRESULT put_ |
| MaxPasswordAge | R/W | HRESULT get_MaxPasswordAge ([out] LONG *plMaxPasswordAge);
HRESULT put_MaxPasswordAge |
| PasswordAttributes | R/W | HRESULT get_PasswordAttributes ([out] LONG *plPasswordAttributes);
HRESULT put_PasswordAttributes |
| PasswordHistoryLength | R/W | HRESULT get_PasswordHistoryLength ([out] LONG *plPasswordHistoryLength);
HRESULT put_PasswordHistoryLength |
| Attribute | Value |
|---|---|
| PASSWORD_ATTR_NONE | 0x00000000 |
| PASSWORD_ATTR_MIXED_CASE | 0x00000001 |
| PASSWORD_ATTR_COMPLEX | 0x00000002 |
Note For PASSWORD_ATTR_COMPLEX, the password must include at least one punctuation mark or non-printable character.