I am creating a custom workflow activity in SharePoint 2013 Workflow. I need to get the set of user logins in a SharePoint site group so that I can send a mail to all users in the group.

In the workflow action list there is a action as "SPLookupGroupMembers". But it asks for a "GroupPrincipalId". The action "LookupPrincipalId" asks for a user name not a group name. How can I get the group ?


enter image description here

this what you need to send mail to members within a group

| improve this answer | |
  • I have already tried in SharePoint Designer. I want to know how to do it in Visual Studio Custom Activity – sm101 Mar 14 '17 at 11:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.