Project DescriptionA nifty little utility for MOSS that allows the listing of user and group permission rights across one or all of your Sharepoint sites in a farm. Also allows specific report restrictions, for example, against a specific user and/or a specific permission right.
GEGETRIGHTS - MOSS DISPLAY USER RIGHTS UTILITYOriginal October 2008, updated Jan 2009 Ver 1.1
List User Rights against all sites, or a specific site or a specific with site against a specific user ID
UsageGEGetRights -w
url -u
userid -o
rights -f
outputfilenameExample 1:GEGetRights -w http://mysharepointsite
This will display all users within that site and subsites and list all user rights in them.
Example 2:GEGetRights -w http://mysharepointsite -u MYDomain/MyUserID
This will display rights for the user Login Account (e.g. MYDomain/MyUserID could mean MYAD/Fredbloggs) against the http://mysharepointsite and subsites.
Example 3:GEGetRights -f c:\rightsfile.txt
Will display all users against all sites and subsites and list all user rights in them and write the results to the filename c:\rightsfile.txt
Example 4:GEGetRights -o FC This will run against all sites looking for anyone who has Full Rights, either at group or user permissions level.
Using the -o parameter:
FC = Full Control
HC = Content Heirachy
CN = Contributor
DE = Designer
AP = Approve
Oh yes, I need to mention that you should watch out for this tools older brother which is a GUI with lots more options – for example, the ability to set rights on users team site access without having to visit the site! This tool is virtually complete and will soon be available from my site.
More info here:
http://www.sharepointgeoff.com/gegetrights/DONATIONS GRATEFULLY RECEIVED!Am trying to build a great bunch of tools for Sharepoint automation - if you like this tool please donate something - it all goes to keeping me toiling away on those apps and makes me feel its all worthwhile! Please donate by going here:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=6205083 and clicking the DONATE button - thanks!
Geoff Evelyn,
http://sharepointgeoff.com