This article describes how to restrict user to access only one virtual server through command policy.
For example, command policy is being configured to allow user to run the the command show lb vserver test or check load balancing virtual server test only. This user cannot check any other virtual server.
To restrict the user access, complete the following steps:
Login to Citrix ADC GUI using the nsroot credentials.
To create command policy, navigate to System > User Administrator > Command policy and type the policy name.
Copy the command which appear in Command Spec field and click Create.
To create user, navigate to System > User Administrator > User.
Click Add and type username and password. In this example it is assumed that user is authenticating through local username and password.
Click Continue and click on No system command policy.
Select the command policy that you want to associate with the user and click Bind and then click Done.
When the user logs on through user account “test”, only vserver test is seen. The other virtual servers or other part of GUI or configuration are not displayed.
For other part of GUI, the following error message is displayed:
From Command Line Interface, the following message is displayed:
You can use some built in options to view all virtual servers.
Click Add on command policy option.
Type the policy name (in this example, test-all-lb), click on Command Spec Editor.
The following screen shot displays allowing user to view all virtual servers.