Wednesday, 2 May 2012
SharePoint 2007: Script to list Users Rights Report - MOSSRightsReport BETA 1
This script generates an html file with all users & groups per web from a SharePoint Portal. This can be useful for an overview of all user rights over the portal and detect users that might have more rights that they should.
The application contains a configuration file, where each role cold have a color assigned, and also configure roles that you wish to ignore for the report.
How to configure:
1. Some lower roles like "Limited access" or "Read" can be configured to be ignored in the Report, in the following tag of the "MOSSRightsReport.exe.config" file:
<add key="RolesToIgnore" value="Read,Limited Access"/>
2. To configure a speficic colour for a certain role:
<add key="full control" value="Red"/>
3. To configure a speficic path to place the report:
<add key="ReportPath" value="c:\temp\"/>
How to use:
In the command line just execute:
MOSSRightsReport.exe PortalURL
This will generate an HTML file in the same folder with the following naming convention:
Shareportal_Rights_Report_DATE_TIME.html
Future improvements:
- Email the report to the users that need this information.
- Please send suggestions!!!
Download the executable and/or source:
MOSSRightsReport.exe.zip (4.93 KB)
MOSS_groups_rights.source..zip (20.13 KB)
Example of a generated Report:
Shareportal_Rights_Report_20080905_163537.html (96.42 KB)
Subscribe to:
Post Comments (Atom)

No comments:
Post a Comment