This project has moved and is read-only. For the latest updates, please go here.

Can this be done using SPServices...?

May 16, 2012 at 12:26 PM

I need to get the distinguished name of a Distribution Group from the people picker when a selection is made, is this achievable using SPServices, or does anyone know of another tool that can help me?

May 16, 2012 at 12:55 PM


If you're talking about a distribution group in AD, you'll need to call the LDAP services to get information about it.


May 16, 2012 at 1:22 PM

Yes, it is an AD DG. I'm not sure how to use the LDAP services within SP. I am only a site collection admin and therefore cannot do anything outside of those capabilities....

May 16, 2012 at 1:28 PM

The LDAP Web Services are totally separate from SharePoint, so you'll probably need to talk to your AD guys.

I'm not sure if the distinguised name is embedded in the People Picker somewhere once you've made a choice. Try setting the value and then searching the DOM with Firebug. If the distinguised name is in there somewhere, I can help you dig it out.