Share via


Powershell script to get user permission on site collections and subsites

Question

Tuesday, January 7, 2014 12:11 AM

Hello,

need a powershell script which shows user permission on various subsites under a site collection or site collections?

chirag

All replies (5)

Tuesday, January 7, 2014 12:17 AM ✅Answered

Did you look at the following CodePlex project?

Sharepoint SP2010 - Retrieve all User Permissions via Powershell

Amit


Tuesday, January 7, 2014 1:41 AM ✅Answered | 1 vote

(Amit, I've not seen this one before, cheers for making me aware.  Doesn't look very well documented but it doesn't look top hard to get working.)

As an alternative, there's also a script within the TechNet Gallery that looks pretty good.  I'm not sure if the OP wants the ability to target individual users or not but this if so, than you can use this.

http://gallery.technet.microsoft.com/office/SharePoint-Permission-2840f327

Hope that helps

Steven Andrews
SharePoint Business Analyst: LiveNation Entertainment
Blog: baron72.wordpress.com
Twitter: Follow @backpackerd00d
My Wiki Articles: CodePlex Corner Series
Please remember to mark your question as "answered" if this solves (or helps) your problem.


Tuesday, January 7, 2014 5:39 AM ✅Answered

Refer the link below to achieve what you looking for:

http://gallery.technet.microsoft.com/office/Powershell-script-to-check-122851d6

This will allow you to check permissions assigned to a user for each site under a Site collection.


Monday, January 6, 2014 11:47 PM

Hello,

I need to use powershell script which shows what type of permission user has under a site collection and its subsites?

Please help.


Tuesday, January 7, 2014 12:24 AM

Hi Cshukla,

you can use Get-SPUser to get the details -

http://vlasenko.org/2010/03/19/sharepoint-2010-powershell-how-to-get-user-permissions-report/

http://technet.microsoft.com/en-us/library/ff607580.aspx

check these links for more information and you can tweak it based on your requirement-

http://sp2010userperm.codeplex.com/

http://gallery.technet.microsoft.com/office/Powershell-script-to-check-122851d6

http://social.technet.microsoft.com/wiki/contents/articles/5884.sharepoint-2010-get-site-users-with-full-controlowners-permissions-with-powershell-script.aspx

Hope this helps!

MCITP: SharePoint 2010 Administrator
MCTS - MOSS 2007 Configuring, .NET 2.0
| SharePoint Architect | Evangelist |
http://www.sharepointdeveloper.in/
http://ramakrishnaraja.blogspot.com/