Obtaining Syntax (type) for Properties contained in the schemaClassname "user".
I have no problem getting attributes for a specific user object or getting the all the property names of contain in schemaEntry.NativeObject
However, I want to enumerate any potential optional and mandatory properties for this objectclass's that can be added to, or read from in an instance of such a class object.
I can to get the property names...but do not know how to get the property types. ("Syntax").
Can some one help me with taking the next step. Please find below code I am currently using to get through the propertis and where I need to fill in the blanks....
Assuming objchild is a dirctoryentry for a user object in AD.
Dim objSchemaEntryAs DirectoryEntry
objSchemaEntry = objChild.SchemaEntry
Dim oClassAs ActiveDs.IADsClass
oClass = objSchemaEntry.NativeObject
Dim oClassattributeAsObject
Dim tmpresultAsStringForEach oClassattributeIn oClass.OptionalPropertiestmpresult = tmpresult & vbCrLf & oClassattribute
'I would like to be able to interigate the property "oClassAttribute" here for its '"Syntax" (attribute type).
Next
MsgBox(tmpresult)

