rated by 0 users
Not Answered This post has 0 verified answers | 1 Reply | 2 Followers

Not Ranked
3 Posts
Emort posted on 09-07-2011 2:23 AM


Can anyone get me in the right direction; I’m fairly new in PowerShell, just completed 3 days of v1. And now trying to throw myself in my first project, and it is not going well :-D

 I’m trying to get a result that will show me a sites users and permissions of at SharePoint site

Get-SPUser -Web "WEBSITE" |Select-Object name

Will return the names but not the rights and as I can see it there is no permission property

Get-SPSite ‘WEBSITE’ | Get-SPWeb -Limit All | Select Title, Permissions   ,SiteUsers      

Gets me very close but the permissions are not readable in understandable way and the SiteUsers     are listed in un readable way

I’m I going in a totally wrong direction or missing something?



Get website and list users with their permissions in a readable way


User                   | site                                       | permission

xusr1                  | http://site/site                      |contribute

xusr2                  | http://site/site                      |Read

All Replies

Top 10 Contributor
658 Posts
Idera Employee

Permissions is a deprecated Property. You should try working with RoleAssignments. 

Take a look at this article which shows you how to user this Property with various securable SharePoint objects:

Page 1 of 1 (2 items) | RSS
Copyright 2012 All rights reserved.