CSS ListUser Command

Lists those users who have access to the specified Commerce Server Staging (CSS) project and their access level.

ListUser <ProjectName> [GlobalFlags]

Parameters

Argument

Description

<ProjectName>

Specifies the name of the project for which user access is to be listed.

Global Flags

Option

Description

/Server <ServerName>

Specifies the server for which the command should execute. Leave blank to execute the command on the server where you enter the command.

/User <user> [pass | *]

Specifies the credentials to use to run the command. You must specify a user name that has the required CSS administrator or operator access rights on the server where the command will be executed. If you omit the user name, the user name of the person who enters the command is used.

If you omit the password or enter an asterisk, CSS prompts you for the password. The password you enter is not displayed on the screen.

Return Value

This command returns a list of users and their access assignments, Administrator or Operator, for the project.

Remarks

You must have CSS administrator or operator access rights to execute this command.

Example

The following command lists the users who have CSS access rights to administer or operate project Test1 on the local server CS001.

Note

The command executes to use the credentials of the user who is logged into the local server. This user must have CSS administrator or operator access rights in order to execute the command.

C:%COMMERCE_SERVER_ROOT%\Staging\Bin> css listuser Test1
Staging Command Line Interface, BUILD 6.0.3724.0


UserName                       Access

CS001\CSSUser                  Administrator
CS001\CSS_SG                   Operator
CS001\CSS Operators            Operator
CS001\CSS Administrators       Administrator
BUILTIN\Administrators         Administrator

Command ListUser completed successfully.

See Also

Other Resources

How Are Permissions Granted to CSS Authentication Accounts?

CSS GrantUser Command

Staging Commands