开发者

How to "ask" SharePoint what resources can be accessed?

开发者 https://www.devze.com 2022-12-09 17:20 出处:网络
Is it possible to \"ask\" SharePoint, what sites/folders a user has access to? In other words, how to do an API call which returns a list of resources that a registered user is allowed to acces开发者

Is it possible to "ask" SharePoint, what sites/folders a user has access to?

In other words, how to do an API call which returns a list of resources that a registered user is allowed to acces开发者_JAVA百科s.


You could loop sites -> webs -> lists -> listitems and use DoesUserHavePermissions on object to see if user can view/create/delete stuff.

0

精彩评论

暂无评论...
验证码 换一张
取 消