Service Desk Practitioners Forum
cancel

How to retrieve all the attributes of an object class in LDAP

Highlighted
nagaraju voora
New Member.

How to retrieve all the attributes of an object class in LDAP

Hi All,

I am stuck up with a peculiar requirement of pulling all the attributes of an object class.

I was able to do it successfully using search method of DirContext search method. But i get only attributes of a record which are only assigned with a value.By that way i don't attributes of a record which are not assigned with a value.

So i have decided is retrive all object classes first and then retrive the attributes of each object class and then build attributes list and search LDAP with this list

Can anybody guide me how to pull all the attributes which are assigned with an object class.

Thanks,
Nagaraju.