CLI Reference > Server Administration Commands > si viewpolicysection
  
si viewpolicysection
displays the policy settings for an existing policy section (global or project)
Synopsis
si viewpolicysection [--height=value] [--width=value] [-x value] [-y value] [--hostname=server] [--port=number] [--password=password] [--user=name] [(-?|--usage)] [(-F file|--selectionFile=file)] [(-N|--no)] [(-Y|--yes)] [--[no]batch] [--cwd=directory] [--forceConfirm=[yes|no]] [(-g|--gui)] [--quiet] [--settingsUI=[gui|default]] [--status=[none|gui|default]] policy section name
Description
si viewpolicysection displays the policy settings for an existing policy section (global or project). For example, the following displays the policy settings for the global policy section on a server:
ChangePackagesEnabled=false
ChangePackagesMandatory=false
IntegrityManagerEnabled=false
IntegrityManagerIssueMandatory=false
ChangePackageReviewRule;append=true
ChangePackageWatcherRule;append=true
* 
The ViewPolicy permission is required.
Options
This command takes the universal options available to all si commands, as well as some general options. See the options reference page for descriptions.
--height=value
specifies the height of the GUI window, in pixels; value must be a whole number.
--width=value
specifies the width of the GUI window, in pixels; value must be a whole number.
-x value
specifies the location of the GUI window on the x axis, in pixels; value must be a whole number.
-y value
specifies the location of the GUI window on the y axis, in pixels; value must be a whole number.
policy section name
specifies the policy section to display, where policy section name is of the form project,devpath. For example:
:global for a global policy.
project for a project, for example, /demo/project.pj.
project;development path for a development path on a project, for example, /demo/project.pj;Variant1.
development path for all projects that are configured on the development path at the top level, for example, ;Variant1.
* 
You may need to escape the ; in your command line environment, for example, enclose it in "" or escape the individual character with a /.
Diagnostics
See the diagnostics reference page for possible exit status values.
Preferences
Using si setprefs or si viewprefs, you are able to set or view the preference keys for this command.
See Also
Commands: si copypolicysection, si deletepolicysection, si setpolicysection, si viewpolicysections
Miscellaneous: diagnostics, options, preferences