获取共享点文档项目的所有用户权限信息 [英] Get All user permission info for sharepoint document item

查看:225
本文介绍了获取共享点文档项目的所有用户权限信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,
我必须使用C#获取与sharepoint DocumentItem关联的sid值.我可以拿到吗.
实际上我想让所有有权访问特定DocumentItem的用户.
我知道有办法

Hi All,
I have to get the sid value associated to sharepoint DocumentItem using C#. Can i get that.
Actually i want to get all the users which have access to specific DocumentItem.
I know there is a method

AllRolesForCurrentUser


但它只显示当前的用户信息,但是我想提取所有对DocumentItem有权限的用户名.有什么办法可以在C#中做到这一点.还有另一个属性


but it only display current user information, But i want to extract all user names who have permission to DocumentItem. Is there any way to do that in C#. There is another Property

ReusableAcl

,但它似乎未返回任何有价值的数据.

but it dont seems to return any valuable data.

推荐答案

您是否尝试过RoleAssignments属性?
Have you tried the RoleAssignments property?


这篇关于获取共享点文档项目的所有用户权限信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆