IADsDomain
Collapse the table of content
Expand the table of content

IADsDomain interface

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.

Members

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

Methods

The IADsDomain interface has these methods.

MethodDescription
Get

Gets the value for a property by name.

GetEx

Gets the value for a single or multi-valued property by name.

GetInfo

Loads the property values of this object from the underlying directory store.

GetInfoEx

Loads specific property values of this object from the underlying directory store.

Put

Sets the value for a property by name.

PutEx

Sets the value for a single or multi-valued property by name.

SetInfo

Persists the changes on this object to the underlying directory store.

 

Properties

The IADsDomain interface has these properties.

PropertyAccess typeDescription

AdsPath

Read-only

Retrieves the object ADsPath that uniquely identifies this object.

AutoUnlockInterval

Read/write

Gets and sets the minimum time that can elapse before an account is automatically reenabled.

Class

Read-only

Retrieves the name of the object schema class.

GUID

Read-only

Retrieves the GUID of the object as stored in the underlying directory store.

IsWorkgroup

Read-only

This property is no longer implemented.

LockoutObservationInterval

Read/write

Gets and sets the time window for monitoring the account.

MaxBadPasswordsAllowed

Read/write

Gets and sets the maximum number of bad password logins allowed before an account lockout.

MaxPasswordAge

Read/write

Gets and sets the age at which the password must be changed.

MinPasswordAge

Read/write

Gets and sets the minimum age that a password must have before it can be changed.

MinPasswordLength

Read/write

Gets and sets the minimum number of characters required in the password.

Name

Read-only

Retrieves the object relative name.

Parent

Read-only

Retrieves the ADsPath string for the object parent.

PasswordAttributes

Read/write

Gets and sets password restrictions.

PasswordHistoryLength

Read/write

Gets and sets the number of passwords saved.

Schema

Read-only

Retrieves the ADsPath string to the schema class object for this object.

 

Remarks

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

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Header

Iads.h

DLL

Activeds.dll

IID

IID_IADsDomain is defined as 00E4C220-FD16-11CE-ABC4-02608C9E7553

See also

IDispatch
IADs
IADsDomain Property Methods
IADsUser::SetPassword

 

 

Show:
© 2016 Microsoft