Skip to content

Users who have permission through a sharing link #689

Answered by jansenbe
bajce asked this question in Q&A
Discussion options

You must be logged in to vote

@bajce , if you lookup the returned PrincipalId in the site users/groups (see csharp code snippet) you'll be able to get more information. In case of for example a list shared with an external user you'll see a group with a name like this "SharingLinks.6c3e69d8-85ba-4a74-a214-3ba666040c1b.Flexible.d2b42daa-4d3d-4076-ba1d-d4ce45524bc7". The first guid is the unique id of the item the share was added on (e.g. list id here), the second guid is the unique id of the share (=shareid). If it's sufficient to understand the share is external then with above you have all you need, if you need more details about the actual share you could consider calling the GetShareInformation methods on for examp…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by bajce
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants