Hi, how to check if the user is an admin added to this SharePoint group without using SharePoint Admin Center to add the user's name as I don't have the access to the Admin Center? I've seen this video from Reza Dorrani but he uses the Admin Center.
Can anyone please help me?
Thank you.
Hi @BCBuizer, I tried again and it works. Thank you for the explanation.
Hi @syhrh ,
Reza's solution works by sharing a single item to one SharePoint group only. If the current user has access to it, it means the user is a member of the SharePoint group.
Have you set the sharing of the single item?
Hi @BCBuizer,
I found this formula to set the variable but it uses office365groups. How to set the variable to check whether the current user logged in is added to the the Sharepoint group?
Set(
varAdmin,
varUserName in Office365Groups.ListGroupMembers(wAdminID).value.displayName
)