开发者

Sharepoint, programmatically get user Permissions for Document Libraries

开发者 https://www.devze.com 2023-02-21 03:35 出处:网络
I am using web services to get user permissions for document librarys in sharepoi开发者_运维问答nt. I tried using \"GetPermissionCollection\" but it only works when the user has Full control. If the u

I am using web services to get user permissions for document librarys in sharepoi开发者_运维问答nt. I tried using "GetPermissionCollection" but it only works when the user has Full control. If the user has any other permission i get 401 error. Can someone please tell me a way to get the user permissions for document libraries.

Thanks and Regards, Aakanksha


This sounds like a permissions issue rather than a programming issue.

SharePoint web services respect security... in other words, you can't do anything using the web services you don't have permission to do. Either...

  1. Give the account you are using permission
  2. Use a different account that has permission
0

精彩评论

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

关注公众号