Platform SDK: Active Directory, ADSI, and Directory Services

Setting Properties

Setting properties is very similar to getting properties. However, when setting a property, the value is only written to the local property cache on the client computer until the IADs::SetInfo method is called. SetInfo is always an explicit call, it is never called implicitly.

You can change the property values in the property cache as necessary for your application using IADs methods or IADsPropertyList methods, then write the changes back out to the directory service when they are in a consistent state using SetInfo.

This section discusses the following: