Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to sort

Status
Not open for further replies.

xdzgor

Programmer
May 17, 2010
4
DK
Hi

I have a program in c# which accesses an LDAP data-store to obtain user and group information (using classes from .net's DirectoryServices namespace).

Now we want to use another LDAP data-store, and a problem has arisen with sorting (we try to sort on the "cn"). It appears that some LDAP implementations do not support sorting? Is this correct?

In any case, we now get an exception in our c# code, stating that the "value for the property sort cannot be set".

Is it possible to determine from an LDAP data-store what functionality it supports? For example, find out if I can sort or not? Any info in general about LDAP, or specific to .net/c# would be appreciated.

Thanks,
Peter
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top