Platform SDK: Active Directory, ADSI, and Directory Services |
The ADSI object model provides a client-side property cache for each ADSI object. Think of the cache as a table in memory that contains the names and values of all an object's properties. When an object is created, its property cache is empty. Calling IADs::GetInfo loads the object's properties from the underlying directory service. If the cache is empty, calling get or get_propertymethod from a client written in C or C++, or calling object.propertymethod from an Automation client, forces an implicit GetInfo. Once the cache is filled, all Get calls work on the contents of the cache only.