IADs interface
The IADs interface defines the basic object features, that is, properties and methods, of any ADSI object. Examples of ADSI objects include users, computers, services, organization of user accounts and computers, file systems, and file service operations. Every ADSI object must support this interface, which serves to do the following:
- Provides object identification by name, class, or ADsPath
- Identifies the object's container that manages the object's creation and deletion
- Retrieves the object's schema definition
- Loads object's attributes to the property cache and commits changes to the persistent directory store
- Accesses and modifies the object's attribute values in the property cache
The IADs interface is designed to ensure that ADSI objects provide network administrators and directory service providers with a simple and consistent representation of various underlying directory services.
Members
The IADs interface inherits from the IDispatch interface. IADs also has these types of members:
Methods
The IADs interface has these methods.
| Method | Description |
|---|---|
| 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 IADs interface has these properties.
| Property | Access type | Description |
|---|---|---|
|
Read-only |
Gets the object's ADsPath that uniquely identifies this object from all others. | |
|
Read-only |
Gets the name of the object's schema class. | |
|
Read-only |
Gets the GUID of the object as stored in the underlying directory store. | |
|
Read-only |
Gets the object's relative name. | |
|
Read-only |
Gets the ADsPath string for the parent of the object. | |
|
Read-only |
Gets the ADsPath string to the schema class object for this object. |
Requirements
|
Minimum supported client |
Windows Vista |
|---|---|
|
Minimum supported server |
Windows Server 2008 |
|
Header |
|
|
DLL |
|
|
IID |
IID_IADs is defined as FD8256D0-FD15-11CE-ABC4-02608C9E7553 |