Get user's SharePoint groups action allows you to retrieve all SharePoint groups of which the specified user is a member.
Example of Get user's SharePoint groups action configuration on the current site
For more information about Action Builder read Action Builder introduction article.
To configure the action Get user's SharePoint group additional properties should be specified:
Configuration
Property | Required | Type | Description |
User Id | yes | String | Specify user Id in the SharePoint site |
Availability
Modern Forms | List Actions | Scheduled/Triggered Actions |
- | - | ✓ |
Output
Output Parameter | Type | Description |
GroupNames | Array of Strings | Returns arrays of SharePoint groups |
Examples:
To use this output and set the value to the text field open Expression builder as Assignment expression and add this expression:
"User is a member of " + [[@Actions.Get_users_SharePoint_groups.GroupNames]].join(", ") + " group(s)."