Access Control with SharePoint Groups

SharePoint groups are defined at the site collection level, and consist of a set of SPMember objects, being these either individuals or groups.

Access control is achieved by assigning each group a permission level (called a role), and assigning this to a particular securable object (called a securable scope inside SharePoint).

 SPMember <--> SPRoleDefinition <--> Securable Scope (ISecurableObject).

 A screenshot of the SharePoint View Site collection permissions page with caption explaining parts of the page

Nested groups 

It is not possible to put one SharePoint group inside another. If nested groups are required, you will need to use nested Active Directory groups.

Site collection groups

The hierarchy will look like this, for example:

 Site Collection  (SPSite)   <--- groups including their members defined here

- Root Web site  (SPWeb)

- - Sub site (SPWeb)

- - - - Sub site 1.a (SPWeb)

- - Sub site 2 (SPWeb)

- - - - Sub site 2.a (SPWeb)

- - - - Sub site 2.b

 

The groups used for a particular site are expressed through RoleBindings, which bind a securable scope with a particular group and permission level.

Breaking inheritance gives the site owner an option to create new groups, or re-use existing ones.

User interface pages

SharePoint provides the following user interface pages for configuring groups.

SharePoint Access Control pages
PageTitleSharePoint descriptionNotes
people.aspxPeople and Groups: PeopleUse this page to view and manage all people for this site collection. 
parameters : MembershipGroupId
groups.aspxPeople and Groups: All GroupsUse this page to view and manage all groups for this site collection. 
user.aspxPermissionsUse this page to assign permission levels to users and groups.Also used for managing rolebindings for items that don't inherit permissions.
editprms.aspxEdit PermissionsN/A 
role.aspxPermission LevelsN/A 
addrole.aspxAdd a Permission LevelN/A 
permsetup.aspxSet Up Groups for this SiteUse this page to specify who can access your site. You can create new SharePoint groups or re-use existing SharePoint groups. 
newgrp.aspxNew Group Use this page to create a group.   
editgrp.aspxChange Group SettingsUse this page to change the settings of this SharePoint group.  
aclinv.aspxAdd UsersUse this page to give new permissions.  
userdisp.aspxUser informationN/A 
mngsiteadmin.aspxSite Collection AdministratorsUse this page to add and remove site collection administrators.  
associatedgroups.aspxEdit Group Quick LaunchUse this page to change which SharePoint groups appear in the Quick Launch on the People and Groups page 
ViewGroupPermissions.aspxView Site Collection PermissionsUse this page to view the permission assignments that this SharePoint group has in this site collection. In addition to the listed URLs, this group has access to any sites, lists, or items that inherit permissions from these URLs.