IADsDomain interface (iads.h)

The IADsDomain interface is a dual interface that inherits from IADs. It is designed to represent a network domain and manage domain accounts. Use this interface to determine whether the domain is actually a Workgroup, to specify how frequently a user must change a password, and to specify the maximum number of invalid password logins allowed before a lockout on the account is set. To change a password, call the ChangePassword method on an ADSI object that supports password controls. For example, to change the password of a user account, call IADsUser::ChangePassword on the user object.

Inheritance

The IADsDomain interface inherits from IDispatch and IADs. IADsDomain also has these types of members:

Remarks

For the WinNT provider supplied by Microsoft, this interface is implemented on the WinNTDomain object.

Requirements

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Target Platform Windows
Header iads.h

See also

IADs

IADsDomain Property Methods

IADsUser::SetPassword

IDispatch