Send Email to Members of a SharePoint Group

Oct 25, 2011 at 6:39 PM

How would I use SPServices to create a mailto: link, say on the front page with the words "Email all members", that contains all people that are part of a specific SharePoint group in the site?

For instance, when I click the link, it is a mailto: of all the people that are members of the site's Members group.

Coordinator
Oct 25, 2011 at 7:28 PM
Edited Oct 25, 2011 at 9:06 PM

Daniel:

Check out the Users and Groups Web Service. http://spservices.codeplex.com/wikipage?title=Users%20and%20Groups&referringTitle=%24%28%29.SPServices I think that the GetUserCollectionFromGroup operation will give you what you need. Keep in mind that each user will have to have permission to get the members of the group in question or else they will get an error or no results in the call.

M.

Oct 25, 2011 at 8:14 PM

Thanks Marc.
There have been only a few times in my life when I wish I had kept my developer "hat". This is one of those times. At least I know where to start now...

Coordinator
Oct 25, 2011 at 9:07 PM

:-) If you get stuck, ping back.

M.