共享点图块访问受限,但应该不可见,而不是显示访问受限错误的列表.

编程入门 行业动态 更新时间:2024-10-26 20:30:25
本文介绍了共享点图块访问受限,但应该不可见,而不是显示访问受限错误的列表.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

have a sharepoint page with multiple tiles on it. Some of the tiles are access restricted to some users. If restricted user looks at the page they see an "access denied" or an "Error" message on page instead of tiles. Is there a way to remove this message and make them see a bank space instead of these "access denied" messages?

另外,是否可以通过任何方式访问限制图块,以便受限用户看到空白屏幕而不是图块或任何错误消息?

Alternatively is there any way i can access restrict tiles so restricted user sees a blank screen instead of tiles or any error message?

提前致谢.

推荐答案

巴拉斯,

据我了解,您希望在SharePoint页面中显示图块.不同的图块具有不同的权限,因此,只有被允许查看的用户才能看到那些特定的图块,其他用户则将其隐藏而不显示拒绝访问.

As per my understanding, you want to display the Tiles in a SharePoint page. Different tiles have different permissions and hence only users who are allowed to view should see those particular tiles else hide it instead of showing access denied.

默认情况下,隐藏页面加载时的所有图块.获取当前用户信息并检查与该用户有关的权限&瓷砖.仅显示当前用户可以看到的图块,否则将其隐藏.您可以使用JSOM& REST API SharePoint.

By default hide all tiles on page load. Get the current user information and check the permissions with respect to the user & tiles. Display only the tiles which the current user can see otherwise hide it. You can achieve this using JSOM & REST APIin SharePoint.

更多推荐

共享点图块访问受限,但应该不可见,而不是显示访问受限错误的列表.

本文发布于:2023-07-05 14:44:21,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1038484.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:而不是   错误   图块   列表

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!