Active Directory Object Schemas

You may have noticed a property of the IADs object interface called Schema. This property is the Active Directory path to an object that contains a description of the class of each and every object in the Active Directory tree. The schema can be examined to determine what each of the properties in any class are and what their data types are.

The IADsClass Object Interface

If you use the GetObject function to retrieve the schema of an Active Directory class, the object you'll receive will implement the IADsClass object interface. This object interface has the properties in Table 12.8.

Table 12.8. IADsClass Properties
Property Description
PrimaryInterface The GUID for the primary interface for this class.

Get Developing Secure Applications with Visual Basic now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.