You configure a SharePoint Server 2010 Service Pack 1 (SP1) farm. You create a SharePoint site
collection named http://www.contoso.com that has a subsite named
http://www.contoso.com/sales. You need to break the permissions inheritance for the subsite. You
also need to ensure that the groups from the parent site are retained. What should you do?
A.
From the SharePoint 2010 Management Shell, run the following cmdlet:
Disable- SPFeature DocumentSet – Url “http://www.contoso.com”
B.
From the SharePoint 2010 Management Shell, run the following cmdlet:
Enable- SPFeature DocumentSet – Url “http://www.contoso.com”
C.
Add Employeel to the Site Owners group.
D.
From the SharePoint 2010 Management Shell, run the following cmdlet:
Disable- SPFeature ViewFormPagesLockdown – Url “http://www.contoso.com”
E.
Grant Full Control permissions to the Sales SharePoint user group.
F.
Grant Design permissions to the Sales SharePoint user group.
G.
From the SharePoint 2010 Management Shell, run the following cmdlet:
Enable- SPFeature ViewFormPagesLockdown – Url http://www.contoso.com
H.
From the SharePoint 2010 Management Shell, run the following script:
$spWeb = Get-SPWeb “http://www.contoso.com/sales”
$spWeb.BreakRoleInheritance($true)
$spWeb.Dispose( )
I.
Add Employeel as a site collection administrator.
J.
From the SharePoint 2010 Management Shell, run the following script:
$ spWeb = Get- SPWeb “http://www.contoso.com/sales” $ spWeb.BreakRolelnheritance ($false) $
spWeb.Dispose ()
Explanation:
Site collection administrator
A site collection administrator can configure the appearance and behavior of the site, configure
search settings and site directory settings, and allocate storage space. A site collection can have one
or two administrators.
http://technet.microsoft.com/en-us/library/ff631156.aspx
Site Owners group.
By default, members of the Owners group for a site have the Full Control permission level on that
site. They can perform administrative tasks on the site, and on any list or library within that site.
They receive e-mail notifications for events, such as the pending automatic deletion of inactive sites
and requests for site access.
Grant Full Control permissions
Includes all permissions.
http://technet.microsoft.com/en-us/library/cc262690.aspx
Design permissions
Includes permissions that enable users to change the layout of site pages by using the browser or
MicrosoftSharePoint Designer 2010.
http://technet.microsoft.com/en-us/library/cc262690.aspx
BreakRoleInheritance($false/$true) true to copy the role assignments of the parent Web site when
breaking inheritance; false to add the current user to the permission level that is required to manage
the list.
DocumentSet
http://www.sharepointanalysthq.com/2010/09/sharepoint-2010-powershell-feature-cmdlets-2/
ViewFormPagesLockdown
Lockdown mode is a feature that you can use to secure published sites. When lockdown mode is
turned on, fine-grain permissions for the limited access permission level are reduced. The following
table details the default permissions of the limited access permission level and the reduced
permissions when lockdown mode is turned on.