Files.Read.All
.Sites.ReadWrite.All
, Files.ReadWrite.All
, Sites.Read.All
.Parameter | Description |
---|---|
Item ID | User, group or site ID depending on the chosen Entity Type. Leave as ‘root’ to list the permissions on the parent Drive Item. |
Parent Entity ID | User, group or site ID depending on the chosen Entity Type. |
Parent Entity Type | The type of the parent of target item for which to retrieve permissions. |
{
"@odata.context": "https://graph.microsoft.com/v1.0/$metadata#users('98c4f2fe-59ff-47cb-b152-4d0f48fdce49')/drive/items('013UEMO3CCJQCRZEVSCRH3MDBTEBCTTKFF')/permissions",
"value": [
{
"id": "aTowIy5mfG1lbWJlcnNoaXB8ZGFuaWVsLmt1cGVybWFuQGhhdml2YmxpbmtvcHMub25taWNyb3NvZnQuY29t",
"roles": [
"owner"
],
"grantedToV2": {
"user": {
"@odata.type": "#microsoft.graph.sharePointIdentity",
"displayName": "test",
"email": "test.test@testblinkops.onmicrosoft.com",
"id": "98c4f2fe-59ff-47cb-b152-4d0f48fdce49"
},
"siteUser": {
"displayName": "test",
"email": "test.name@example.onmicrosoft.com",
"id": "3",
"loginName": "i:0#.f|membership|test.test@testblinkops.onmicrosoft.com"
}
},
"grantedTo": {
"user": {
"displayName": "test",
"email": "test.name@example.onmicrosoft.com",
"id": "98c4f2fe-59ff-47cb-b152-4d0f48fdce49"
}
}
}
]
}
Was this page helpful?