It is possible to only list the code groups belonging to a policy. For this one simply uses the –listgroups option.
Caspol –listgroups
This will list the code groups at the default policy level. As with the –list option, -machine,-user,-all can be used to determine for which policy level code groups should be listed. For instance, the command below lists the code groups at the user policy level.
Caspol –user -listgroups
The command below will list the code groups at both the machine and user policy level.
Caspol –all -listgroups