IADsDomain

The IADsDomain interface enables a COM object in Active Directory to manage a common set of rules concerning passwords that apply to the accounts on a domain of computers or servers.

Properties accessed by IADsDomain are defined on the ADSI Domain Object.

When to Implement

Implement IADsDomain only when you are providing an Active Directory implementation for a directory service that supports domains.

Under the Windows NT implementation, this interface is implemented on the object WinNTDomain.

When to Use

Call the methods and properties of this interface when you are managing the password rules of domain members.

Methods in VTable Order

IUnknown Methods Description
QueryInterface Returns pointers to supported interfaces.
AddRef Increments reference count.
Release Decrements reference count.

IDispatch Methods Description
GetTypeInfoCount Gets the number of type descriptions.
GetTypeInfo Gets a description of object's programmable interface.
GetIDsOfNames Maps name of method or property to DISPID.
Invoke Calls one of the object's methods, or gets/sets one of its properties.

IADs Properties and Methods Description
get_Name Gets the object's relative name.
get_Class Gets the object's schema class name.
get_GUID Gets the object's globally unique identifier.
get_ADsPath Gets the object's ADsPath that uniquely identifies this object from all others.
get_Parent Gets the object's ADsPath string for its parent container.
get_Schema Gets the ADsPath string to the schema class definition object for this object.
GetInfo Reloads the changes on this object and its dependents.
SetInfo Saves the changes on this object and its dependents.
Get Gets the value for a property by name.
Put Sets the value for a property by name.
GetEx Gets the value for a single or multi-valued property by name.
PutEx Sets the value for a single or multi-valued property by name.
GetInfoEx Reloads specific property values for this object as they exist in the underlying directory service.

IADsDomain Methods Description
get_IsWorkgroup TRUE if the "domain" is actually a workstation that is a member of a workgroup.
get/put_MinPasswordLength Gets/sets minimum number of characters required.
get/put_MinPasswordAge Gets/sets minimum age before allowing a password change.
get/put_MaxPasswordAge Gets/sets age at which password must be changed.
get/put_MaxBadPasswordsAllowed Gets/sets maximum bad password logins before lockout.
get/put_PasswordHistoryLength Gets/sets number of passwords saved.
get/put_PasswordAttributes Gets/sets password restrictions.
get/put_AutoUnlockInterval Gets/sets minimum time elapsed before account automatically re-enabled.
get/put_LockoutObservationInterval Gets/sets time window for monitoring account.