Platform SDK: Active Directory, ADSI, and Directory Services

SetInfo Method

The IADs::SetInfo method saves the current values for the properties for this Active Directory object from the property cache to the underlying directory store. This is analogous to flushing a buffer out to disk.

SetInfo will update objects that already exist in the directory or create a new directory entry for newly created objects.

At the time of the SetInfo call, if any property cache values have been written with a IADs::PutEx control code such as ADS_PROPERTY_UPDATE or ADS_PROPERTY_CLEAR, then the appropriate requests are passed on to the underlying directory service.