CLI Reference > Server Administration Commands > si viewpolicysections
  
si viewpolicysections
displays the existing policies (global or project) on a Windchill RV&S Server
Synopsis
si viewpolicysections [--[no]showPolicies=value] [--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 viewpolicysections displays the existing policy sections (global or project) on a Windchill RV&S Server. For example, the following global and project policy sections exist on a server:
ChangePackagesEnabled=false
ChangePackagesMandatory=false
IntegrityManagerEnabled=false
IntegrityManagerIssueMandatory=false
ChangePackageReviewRule;append=true
ChangePackageWatcherRule;append=true
/alpha/project1.pj
k=v
/service_pack/project.pj/project.pj
k=v
* 
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.
--[no]showPolicies=value
specifies whether or not to display the policy settings in each policy section. If you do not specify this option, only the policy sections display.
--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.
-yvalue
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.
d;evelopment 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 setpolicysectionsi viewpolicysection
Miscellaneous: diagnostics, options, preferences