问题
We have a need to retrieve user groups which have read permissions for a document. We know the URL of the document. The following Permissions service provides the groups which has access, but it expects either a site URL or a list URL. We have a document URL. Is there any other service which provides permissions of a document. Or alternatively, is there a way to find out the list provided we know the document URL.
Permissions Service - http://<server-url>/_vti_bin/permissions.asmx
Thanks!
回答1:
Retrieving item-level permissions is not possible with the out-of-the-box web services.
Einar Stangvik has developed a custom web service that does this and provides the source code. If you are able to deploy custom code to the server you can use it.
来源:https://stackoverflow.com/questions/1449845/permission-for-a-sharepoint-document-using-moss-web-services