You need to sign in to do that
Don't have an account?
Alejandro GR
Get all emails from group members
I'm trying to get emails of all group members in a given group. I can request for all members in the group, but the users comes without the email field.
Im using this endpoint: /chatter/groups/GROUP_ID/members
Is there any way to recover all user emails inside a chatter group?
Im using this endpoint: /chatter/groups/GROUP_ID/members
Is there any way to recover all user emails inside a chatter group?
SELECT Member.Name, Member.Email FROM CollaborationGroupMember WHERE CollaborationGroupId = 'YOUR_GROUP_ID'
In REST, the query would be:
GET /services/data/v34.0/query?q=SELECT+Member.Name,+Member.Email+FROM+CollaborationGroupMember+WHERE+CollaborationGroupId+=+'YOUR_GROUP_ID'
All Answers
SELECT Member.Name, Member.Email FROM CollaborationGroupMember WHERE CollaborationGroupId = 'YOUR_GROUP_ID'
In REST, the query would be:
GET /services/data/v34.0/query?q=SELECT+Member.Name,+Member.Email+FROM+CollaborationGroupMember+WHERE+CollaborationGroupId+=+'YOUR_GROUP_ID'