This project is read-only.
GEPDOCPERMS is a utility that will list document libraries from all or a specific SharePoint site, with the ability to show the permissions set against documents, the ability to list the email enabled document libraries, the ability to list permissions against a specific individual.

The output of this utility is TEXT, however, further releases will include the ability to write to XML and HTML.

GEPDOCPERMS is a console application which runs on a SharePoint Server. All you need do is download it, unzip GEPDOCPERMS into a folder on the SharePoint Server. You can run GEPDOCPERMS /? to view the help screen. The help screen gives information on the switches that you will have to give the application to get the output you need.

Points concerning the switches.
1: If you use -usr you should also use -o
2: If you use -e no permissions and no document library files will be listed
3: If you use -u and the site checked is a site collection all subsites of that site collection will be included
4: The switches can be used in any order
5: If you run GEPDOCPERMS without any switches it will list all document libraries across all sites - check the help first or read the below to get the right combination of switches for what you want to check

Usage:
GEPDOCPERMS -u URL of site to check -d Document Library Title -a -[f NameOFOutPutTextFile] -o FC / HC / CN / DE / AP / RD / XX -ng -a -usr DOMAIN\LOGINNAME

See the Help Screen:
GEPDOCPERMS /?

Other command line examples as follows:

Example 0
GEPDOCPERMS
This will include information from document libraries across all sites and all web applications

Example 1
GEPDOCPERMS -e
This will include information from document libraries only where the incoming email address has been set

Example 2
GEPDOCPERMS -u http://mysharepoint
This will display information concerning all document libraries from the mysharepoint site.

Example 3
GEPDOCPERMS -u http://mysharepoint -d MySharedDocs
This will display information concerning MySharedDocs document library in the mysharepoint site.

Example 4
GEPDOCPERMS -u http://mysharepoint -d MySharedDocs -a
This will display information INCLUDING all the files in the MySharedDocs document library in the mysharepoint site.

Example 5
GEPDOCPERMS -u http://mysharepoint -e
This will display information from document libraries in site http://mysharepoint which have Incoming emails set against them.

Example 6
GEPDOCPERMS -a -f FarmDocList.txt
This will display information about all files, in all document libraries and from all sites to the text file FarmDocList.txt - note this will produce a big report!

Example 7
GEPDOCPERMS -o RD -a
This will display information about all document libraries including all users who have READ access to those document libraries in all sites to the text file GEPDOCPERMS.TXT
FC = FULL CONTROL / HC = MANAGE HIERACHY / CN = CONTRIBUTE / DE = DESIGN / AP = APPROVE / RD = READ / XX = ANY ROLE PERMISSIONS

Example 8
GEPDOCPERMS -o RD -a -usr DOMAIN\LOGINNAME
Same as Example 7 but also restricting the list to show only READ against user DOMAIN\LOGINNAME

Example 9
GEPDOCPERMS -u http://sharepoint -o RD -ng -a
This will display information about all document libraries in http://sharepoint, showing users who have READ access to all documents, but ignoring expanding SharePoint Group access membership

Last edited Apr 3, 2013 at 7:19 PM by GeoffE, version 7

Comments

No comments yet.