How to Add Users to SharePoint Site and Grant Permissions?

Adding users to SharePoint site is a frequent activity for SharePoint site owners. Users can be added either to any existing SharePoint group or directly under site permissions. Lets see how to add users in SharePoint site. How to Add Users to SharePoint? To add users to SharePoint 2010 site: 1. Log-in…

Read more

Add a User to Owner Group of All SharePoint Sites using PowerShell

Requirement: Add user to Owner Group of All SharePoint site collections using PowerShell! We’ve site collections grouped by managed paths such as “Teams”, “Projects”. Got a requirement to add a user to the Owner/Members group of all sites under a particular managed path. How to add a User to the Owner/Member Group…

Read more

Remove All Users from a SharePoint Group using PowerShell

Requirement: Remove all users from a group in SharePoint SharePoint PowerShell to remove all users from a group: PowerShell script to remove all user from a SharePoint group programmatically:

Read more

Break Inheritance and Add-Remove Item Level Permission with PowerShell

Requirement: Break the permission inheritance of a SharePoint list item and grant permission only to a specific user and group. How to Break Permission Inheritance in SharePoint? You can change a document or item’s permissions by stop inheriting its permissions from its parent and add remove permissions to the item directly. To…

Read more

SharePoint Users and Groups Security Report Based on Permission Levels

Getting insights on who has access to  SharePoint sites & lists and what level of permission has been granted on all over site collection is a frequent requirement in SharePoint governance. Because out-of-the-box security reporting is very limited, I wrote this PowerShell script to generate SharePoint users and groups security reports based…

Read more

SharePoint Users and Groups Permission Analysis Report for Site Collection

Requirement: For security audit purpose, had to generate a comprehensive users and groups security report for entire site collection. Some of the sub-sites, some of the lists & libraries are with unique permission. Solution: Lets use PowerShell with little HTML & CSS to generate a users and groups permission Report! On executing…

Read more

Set Permissions and Restrict Access to SharePoint Views

Little background: PMO from Sales domain came with this requirement: They Have a list for capturing project metrics in a project collaboration SharePoint Site with below columns: There are two requirements: When Project Managers logs in, they should get projects in which they are assigned as “Project Managers”. When Program Manager logs…

Read more

Audit Specific User Permissions in SharePoint 2007 with PowerShell

In continuation with my earlier post: SharePoint Permission Report: Check Access Rights for a Specific User, got few requests to make the PowerShell script compatible with MOSS 2007. Hence, I’m posting the code here. Make sure you are running the script from Farm Admin credentials who has “FULL Control” Policy created on…

Read more

SharePoint 2010 Permission Report: Check Access Rights for a Specific User

Update: This script has been updated to scan Folders and List Items with Claims support at: SharePoint User Permission Analysis & Reporting using PowerShell Requirement: To ensure security, generate permissions report on all locations like (sites, lists, etc.) where a specific user has permissions. When people moving from one role to another,…

Read more

Change Site Collection Primary, Secondary Administrators in SharePoint

Site collection administrators have god-like power within a SharePoint site collection, They can add/delete sites, content, users, etc for any site within a site collection. These administrators are responsible for administering their site collection and are recipients of any site status and resourcing Email notifications. How to change the site collection administrator…

Read more