Contact us

Get members of SharePoint group

This activity returns collection of SharePoint group members. Supports “Distinguished Name” or “Account Name” output format.

SharePoint Designer phrase

get_members_of_sharepoint_group_1

Parameters#

Input parameters

ParameterDescriptionExample
This groupName or ID of theSharePoint group.Home owners, 4, Home Viewers
Current siteThe URL of the site collection to which the user account is being added. Default value is current site collection.https://contoso/SiteUrl; https://contoso/Sites/SiteUrl; [%Workflow Context:Current Site URL%]/subSite
VariableResult is Dynamic value[{"Id": "27","LoginName": "i:0#.f|membership|john@contoso.microsoft.com","Email": "john@contoso.onmicrosoft.com"}, {"Id": "23","LoginName": "i:0#.f|membership| john @contoso.microsoft.com","Email": " john @contoso.microsoft.com"}]

Example

get_members_of_sharepoint_group_2

Was this article helpful to you?

Updated on October 24, 2024