更改所有用户对MySite中库的权限 [英] Change permissions for libraries in MySite for all users

查看:72
本文介绍了更改所有用户对MySite中库的权限的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道是否有脚本或方法可以为服务器场中的所有用户更改新创建的库(不是使用MySite创建的默认文档"库)的权限.设置新用户时,我们另外创建了3个 库,但权限允许对所有人"的只读"访问权限和所有用户(Windows)"按照"CA MySite"设置中的指定-读取权限级别".但是,我们不想触碰在中定义的那些权限. CA,因为那样一来,用户将无法看到彼此的站点.

I am wondering if there is a script or way to change the permissions for newly created libraries (not the default "Documents" library that gets created with a MySite) for all users in our farm.  When we set up new users, we created 3 additional libraries for them, but the permissions allow Read access for "Everyone" and "All users (Windows)" as specified in the CA MySite settings - Read Permission Level.   However, we do not want to touch those permissions defined in CA because then users would not be able to see each others sites.   

我们要删除的是所有人"和所有用户(Windows)"我们创建的其他3个库中的分组.默认情况下,文档库处于锁定状态.有没有比这更好的方法来实现这一目标 到每个Mysite中的每个库(超过400个用户)并手动执行?我看过一些PS脚本,但是没有我们需要的东西.

What we want to do is remove the "Everyone" and "All users (Windows)" groups from the 3 additional libraries we created.   By default, the Documents library is locked down.  Is there a better way to achieve this than going to every library in every Mysite (400+ users) and doing it manually?  I have looked at a few PS scripts but nothing that has what we need. 

谢谢!

推荐答案

Doug Wolsfeld

Hi Doug Wolsfeld,

根据您的描述,您想 删除所有人"和所有用户(Windows)"在所有用户的我的网站"中创建的库中创建组.

From your description, you want to remove the "Everyone" and "All users (Windows)" groups from the libraries created in all users’ my Site.

您可以使用PowerShell遍历所有mysite,在mysites中创建的所有库,然后删除所有人"和所有用户(Windows)"来自的团体 库.

You can using PowerShell to iterate through all mysites,  all libraries created in mysites,  the then remove "Everyone" and "All users (Windows)" groups from the libraries.

以下PowerShell可以删除所有人";和所有用户(Windows)"组从管理员的我的网站"中供您参考:

The following PowerShell can remove "Everyone" and "All users (Windows)" groups from the administrator's my site for your reference:


sp = Get-SPsite"http://sp:18702/"
sp = Get-SPsite "http://sp:18702/"


spWebApp =
spWebApp =


这篇关于更改所有用户对MySite中库的权限的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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