Listing members

NoteNote:

This topic only applies to 10.2.1 and later versions.

Administrators can use a command line utility, called ListUsers, to generate a list of all the members in the portal. You can use this utility to periodically assess which users in your organization are members in the portal.

If you have recently upgraded your portal and must reduce the number of named users to the maximum allowed by your authorization file, you can use this utility to obtain the full list of members, and assess who can be removed. In this scenario, you'll edit the output file from the ListUsers utility to list only the user names of members that you want to delete from the portal. This edited list will serve as the input to the DeleteUsers utility. This process is described below.

Generating a list of members

Use the ListUsers command line utility that was installed with the software to list all of the members in the portal. The tool is located in the <Portal for ArcGIS installation location>\tools\accountmanagement directory. You'll designate input parameters to execute the utility. The utility must be run on the machine where Portal for ArcGIS is installed.

NoteNote:

The utility can only be executed by a built-in administrator account; you cannot use an enterprise administrator account. The built-in account you use can be the initial administrator account you set up when you configured the portal or another built-in account that has been granted administrator privileges. If you have deleted the initial administrator account and do not have any other built-in administrator accounts available, you will need to create one to execute the utility. For instructions, see the Built-in portal accounts section of Adding members to your portal.

The available parameters are as follows:

ListUsers --output <file name> --format <simple | detailed>

Example: ListUsers --output C:\organization\members.txt --format detailed

When you execute the command, the output text file is created in the directory you specified. You can use the information in this file to determine what users in your organization are members of the portal.

You can also edit the information in this file to list only the user names of members that you want to delete from the portal. This edited list will serve as the input to the DeleteUsers utility, which will remove the members from your portal in bulk. You'll need to edit the text file to remove all information except the user name. Each user name must be listed on a separate line, for example:

sarah
robert
james
qing

To learn how to remove members from your portal using this file, see Removing members.

5/5/2015