|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.|
How to: View Permission Sets Using Caspol.exe
You can use the Code Access Security Policy tool (Caspol.exe) to list the permission sets belonging to all policy levels or to a single policy level.
To view the permission sets used at a policy level
Type the following command at the command prompt:
caspol [-enterprise|-machine|-user|-all] -listpset
Specify the policy-level option before the –listpset option. If you omit the policy-level option, Caspol.exe lists the permission sets for the default policy level. For computer administrators, the default level is the machine policy level; for others, it is the user policy level.
The following command lists the permission sets for all three policy levels.
caspol –all -listpset