Click here to Skip to main content
15,921,959 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello Everyone

I am trying to write a query in sql 2008 which will return the current user's groups listed in active directory.

To do so, I have created a linked server to the Active directory and I am connecting to it and even write basic ldap queries. However, I wasn't able to figure out how to write the ldap query which will return the current user's groups from the active directory.

Does anyone know how to write an ldap query like this?

Updated 3-Jan-11 18:51pm

1 solution

Does this[^] help?
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900