SharePoint Online – Get list of SharePoint Groups a User is member of on a single site
The following script get a list of SharePoint groups on a single site that the user is member of on a single site. You can then either remove the user from all the groups if the user no longer require access, assign the same permissions to another user, or simply display it. This line connect … Read more