临时限制用户对网站集的访问(SharePoint Online) [英] Temporarily restrict access of a user on site collection (SharePoint Online)

查看:63
本文介绍了临时限制用户对网站集的访问(SharePoint Online)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


Hi All,

Hi All,


暂时限制用户访问 网站集(SharePoint Online),

Temporarily restrict access of a user on  site collection (SharePoint Online),


我的方案是, 我们已经授予了一些外部用户的访问权限,在每个月/两个月后(不是定期我很多次)管理员可能需要更新或限制
用户。

My scenario is, we have given access to some external user, after every month / two months ( not periodically i many any time ) admin may need to renew or restrict user.


我是 规划自定义解决方案,管理员可以选择用户,然后启用或禁用他的访问权限(如关闭/开启)。

I am  planning for a custom solution where admin will be able to select the user then enable or disable his access( like Switch off/Switch on).


我的计划 :创建自定义列表用户(单行文本,电子邮件ID)和访问(下拉,启用/禁用)为 元数据列,开发一个jsom
脚本,它会弹出一个 带有消息的页面,说明"你没有 有权限"如果在列表中禁用了Access的值。我计划在母版页上进行脚本注入。

My Plan : Create a custom list with user(Single line of text, for Email ID) and Access(drop down, Enable/Disable) as  metadata columns , Develop a jsom script, where it will pop up a  page with message stating "you don't  have permission" if value of the Access is disabled in the list.Here i am planning to do script injection on master page.



注意:我需要维护用户权限,因为 revokin g  因为
我需要在启用时给予相同的权限。



请帮助我解决您的方法,并随时根据您的建议纠正我的方法。

Please help me with your approaches too and feel free to correct my approach with your suggestions.

关于Ravichandra

with regards Ravichandra

推荐答案

嗨Ravichandra,

没有直接选项暂时限制用户,但你可以看看这两种可能的解决方案

1.通过编码从所有站点,库/列表,项目中删除这些用户权限。我没有在线找到任何可行的脚本,您可能需要自己编写代码。

2.由于Deny All权限是在Web应用程序级别,您可以创建一个新的Web应用程序并将所需的网站集移动到
新创建的Web应用程序。然后您可以设置Deny All for那些用户。但所有这些网站集的网址都会被更改。

希望这有帮助!

------------------------------------- -------------------------------------------------- ------------------

请不要忘记"标记答案作为答案" 如果他们帮助了,也设置了" ; 喜欢"
这对我们来说是一个促进博客的动力 

Please don't forget to "mark the replies as answers" if they helped, also set "like" it’s a boost for us to keep blogging 

点击  此处  到
了解详情。访问专用的 社区 论坛 功能来NBSP&; 分享,  探索 和  &
关于Microsoft Kaizala的专家。

Click here to learn more. Visit the dedicated Community forum to shareexplore and talk to experts about Microsoft Kaizala.





这篇关于临时限制用户对网站集的访问(SharePoint Online)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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