Can this be done using SPServices...?

May 16, 2012 at 11:26 AM

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?

Coordinator
May 16, 2012 at 11:55 AM

Bob:

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

M.

May 16, 2012 at 12: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....

Coordinator
May 16, 2012 at 12: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.

M.