Get members of SharePoint group

⌘K

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 the SharePoint group.Home owners, 4, Home Viewers
SiteURL (optional)The 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.joe@contoso.microsoft.com“, “Email”: “john.doe@contoso.onmicrosoft.com“,
“Name”:”John Doe” }, { “ID”: “23”, “LoginName”: “i:0#.f|membership|jane.doe@contoso.microsoft.com“, “Email”: “jane.doe@contoso.microsoft.com“, “Name”:”Jane Doe” }]

Example

get_members_of_sharepoint_group_2

Note: We recommend you to run all Virto Permissions actions inside App Step to avoid failing of your subsequent actions inside the workflow.

Example

get_members_of_sharepoint_group_3

How can we help?