简体   繁体   English

使用服务器对象模型的sharepoint 2010中的列级权限

[英]Column level permissions in sharepoint 2010 using Server Object Model

I am new to sharepoint.i have created a list with some columns from a console application using Server OM and c#.My requirement is when a perticular user logs in i want to hide some columns.like this i want to customize the columns that a perticular user can see. 我是sharepoint的新手,我使用Server OM和c#从控制台应用程序创建了一个包含一些列的列表。我的要求是,当特定用户登录时我想隐藏一些列。像这样,我想自定义一个垂直用户可以看到。 I have checked for permissions but there are no concept like "Column level permissions". 我已经检查了权限,但是没有像“列级权限”这样的概念。 I have tried with the "hidden" property of column.like 我已经尝试使用column.like的“隐藏”属性

SPField f = list.Fields["Abc"] and f.Hidden = true . SPField f = list.Fields["Abc"]f.Hidden = true

but doesnt work for me as i want to hide and show columns depending upon the current user. 但对我不起作用,因为我想根据当前用户隐藏和显示列。 can anybody help me tosolve this?thanks in advance. 有人可以帮助我解决这个问题吗?

Please try this feature: http://permissionmanagement.codeplex.com/ The solution allow you to create a column level permission. 请尝试以下功能: http : //permissionmanagement.codeplex.com/该解决方案允许您创建列级权限。 In your case, you assign permission to users defined in the column item. 您需要为列项目中定义的用户分配权限。 Also, you can try the other product like column permission 另外,您可以尝试其他产品,例如列权限

暂无
暂无

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

相关问题 C#使用SharePoint客户端对象模型检查SharePoint列表权限 - C# Check SharePoint List permissions using SharePoint Client Object Model Sharepoint 2013服务器对象模型。 在网站创建期间将权限从一个网站复制到另一个网站 - Sharepoint 2013 Server Object Model. Copy permissions from one site to another during site creation SharePoint Server对象模型和WCF - SharePoint Server Object Model and WCF 如何使用C#在Sharepoint 2010中检查用户或组的权限? - How to check permissions for a user or group in Sharepoint 2010 using C#? 使用Sharepoint 2010客户端对象模型搜索站点中以特定扩展名结尾的所有文档 - Search for all documents in a site that end with a specific extention using Sharepoint 2010 Client Object Model 如何使用SharePoint 2010客户端对象模型获取阻止的文件扩展详细信息? - How to get Blocked File Extensions details using SharePoint 2010 Client Object Model? Sharepoint 2010 用户身份验证(Windows 凭据)与客户端对象模型 - Sharepoint 2010 User Authentication (windows Credential) with Client Object Model SharePoint 2010 - 客户端对象模型 - 向ListItem添加附件 - SharePoint 2010 - Client Object Model - Add attachment to ListItem SharePoint 2010客户端对象模型,清除内容类型集合 - SharePoint 2010 client object model, clear content type collection Sharepoint 2010客户端对象模型 - 上载文档(409冲突) - Sharepoint 2010 Client Object Model - Upload Document (409 Conflict)
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM