How to know permission for a user using REST in a site sharepoint online
-
11-12-2020 - |
Domanda
How do I know in what level of permission e.g (Full control, Edit, Design) or group e.g (Owner, approvers, designers, etc) an user is, using REST?
thanks !
Soluzione
Hi for you can use the rest endpoint for current logged in user
_api/Web/CurrentUser?$expand=groups&$select=groups/Title,Id
Altri suggerimenti
Microsoft provided details of knowing the permissions at
https://msdn.microsoft.com/en-us/library/office/dn531432.aspx
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a sharepoint.stackexchange