Platform SDK: Active Directory, ADSI, and Directory Services

Reading a User Object

To read the properties of a user object, bind to the user object and use the methods provided by the IADs, IADsPropertyList, or IADsUser interfaces. In C/C++, you can also use IDirectoryObject to retrieve specific properties. For information on reading properties of an object, see Accessing and Manipulating Data with ADSI.