隐藏基于AD用户组的列 [英] Hide column based on AD User Group

查看:146
本文介绍了隐藏基于AD用户组的列的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好

任何基于AD用户组隐藏EditForm.aspx中列的解决方案.

Any solution to hide column in EditForm.aspx based on AD User Group.

谢谢.

推荐答案

你好Ameenah,

Hi Ameenah,

对于您的请求,建议您创建REST服务并使用  SPUtility.GetPrincipalsInGroup从域组中获取用户.然后使用CSR隐藏基于用户的列.

For your request, I suggest you creating a REST service and using  SPUtility.GetPrincipalsInGroup to get users from the domain group. Then use CSR to hide the columns based on the users.

参考:

使用Sharepoint API获取AD域组的成员

Getting members of an AD domain group using Sharepoint API

https://stackoverflow.com/questions /4314767/使用共享点API获取一个广告域组的成员

类似的帖子供您参考:

https://sharepoint.stackexchange .com/questions/184654/hide-columns-in-new-edit-form-for-specific-users/184713

最诚挚的问候,

Grace Wang

Grace Wang


这篇关于隐藏基于AD用户组的列的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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