Obtaining Syntax (type) for Properties contained in the schemaClassname "user".

I'm looking for someone who can help me (in vb.net) with obtaining the "syntax" of properties for an objectclass of type "user" through directoryservices.

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 tmpresultAsString

ForEach oClassattributeIn oClass.OptionalProperties

tmpresult = tmpresult & vbCrLf & oClassattribute

'I would like to be able to interigate the property "oClassAttribute" here for its '"Syntax" (attribute type).

Next

MsgBox(tmpresult)

[2196 byte] By [TimothyButterfield] at [2007-12-16]