简体   繁体   English

如何控制对由SharePoint安全组控制的InfoPath表单按钮的访问

[英]How to control access to a InfoPath Form Button that is controlled by a SharePoint Security Group

I was wondering if there is away to control a InfoPath Form Button enable it if you are in the Security Group and disable it if you are not in the SharePoint Security Group. 我想知道是否可以控制InfoPath表单按钮(如果您在安全组中)将其启用,而如果不在SharePoint安全组中,则将其禁用。

Client does not want to use the list method. 客户端不想使用列表方法。

Well it isn't possible. 好吧,这是不可能的。 However there is a workaround I sometimes use: You create a list and add only one item. 但是,有时会使用一种解决方法:您创建一个列表并仅添加一项。 Give unique permissions on that particular item for only the Group. 仅对该组授予对该特定项目的唯一权限。

Then in InfoPath create a Data Connection on that list and check with rules if the ID is present of the data result (or check on some value if you want). 然后在InfoPath中,在该列表上创建一个数据连接,并根据规则检查数据结果中是否存在ID(或者如果需要,检查某个值)。 If user is in the group then it will get that one record. 如果用户在组中,那么它将获得该记录。 If not the user it will result in no records. 如果不是用户,将不会有任何记录。

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

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