简体   繁体   English

如何在Sharepoint站点上查看我的权限级别

[英]How Do I See My Permission Level on a Sharepoint Site

I think I might be Reader or Member, but I can't find any way to see for sure what my permission level is. 我想我可能是读者或会员,但我找不到任何方法可以确定我的权限级别是什么。 What can I click in Sharepoint (2013) to see my own permission level? 我可以在Sharepoint(2013)中点击什么来查看我自己的权限级别? When I google this question, I only find info about how to set permission levels for other users (assuming I am a site owner). 当我谷歌这个问题时,我只找到有关如何为其他用户设置权限级别的信息(假设我是网站所有者)。

There is no way for a user without enough permissions to find out what rights they have. 没有足够权限的用户无法找到他们拥有的权限。

Normally you would find it by going to: 通常你会发现:

“Site Settings” > “Site permissions” > “Check Permissions” “网站设置”>“网站权限”>“检查权限”

The only other option you have left is basically a process of elimination of the standard SharePoint Permissions. 您剩下的唯一其他选项基本上是消除标准SharePoint权限的过程。 (This could give you a reasonable indication, if they have not created custom permission levels). (如果他们没有创建自定义权限级别,这可以为您提供合理的指示)。

Most of the relevant SharePoint permissions are: 大多数相关的SharePoint权限是:

• View Only - Can view pages, list items, and documents. •仅查看 - 可以查看页面,列表项和文档。 Document types with server-side file handlers can be viewed in the browser but not downloaded. 具有服务器端文件处理程序的文档类型可以在浏览器中查看,但不能下载。

• Read - Can view pages and list items and download documents. •读取 - 可以查看页面和列表项以及下载文档。

• Limited Access - Can view specific lists, document libraries, list items, folders, or documents when given permissions. •受限访问 - 在给定权限时可以查看特定列表,文档库,列表项,文件夹或文档。

• Approve - Can edit and approve pages, list items, and documents. •批准 - 可以编辑和批准页面,列表项和文档。

• Contribute - Can view, add, update, and delete list items and documents. •Contribute - 可以查看,添加,更新和删除列表项和文档。

• Edit - Can add, edit and delete lists; •编辑 - 可以添加,编辑和删除列表; can view, add, update and delete list items and documents. 可以查看,添加,更新和删除列表项和文档。

• Moderate - Can view, add, update, delete and moderate list items and documents •中等 - 可以查看,添加,更新,删除和审核列表项和文档

• Design - Can view, add, update, delete, approve, and customize. •设计 - 可以查看,添加,更新,删除,批准和自定义。

• Full Control - Has full control. •完全控制 - 完全控制。

There's no OOB way to do that if you don't have access to the check permission page. 如果您无权访问检查权限页面,则没有OOB方法可以执行此操作。

That said, if you can code a bit, you can access the effective permission for the current for any securable object using the SPSecurableObject.EffectiveBasePermissions property . 也就是说,如果您可以编写一些代码,则可以使用SPSecurableObject.EffectiveBasePermissions属性访问任何安全对象的当前有效权限。

As a reminder, SPSecurableObject is an abstract class, ancestor of SPWeb , SPlist , SPFolder and SPListItem classes. 提醒SPSecurableObjectSPSecurableObject是一个抽象类, SPWebSPlistSPFolderSPListItem类的祖先。

This property will show the actual permissions the current user has. 此属性将显示当前用户的实际权限。

If you need the get the role (autorisation level), the SPSecurableObject.AllRolesForCurrentUser property will do the job. 如果需要获取角色(autorisation level), SPSecurableObject.AllRolesForCurrentUser属性将完成该任务。

That said, you should know there is SharePoint dedicated StackExchange site . 也就是说,您应该知道SharePoint专用的StackExchange站点

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM