If you are an administrator of your organization or you have the correct privileges, you can manage the content owned by members. You can edit its details; change its sharing properties, such as making a public item private; move the item to a different folder; change who owns the item; and delete the item. You can also change item ownership in bulk using a command line utility.
Manage items using the portal website
You can manage the content owned by portal members using the portal website. You can change the ownership of individual items using the portal website.
- Verify that you are signed in to your organization and that you have privileges to manage items owned by other members.
- Click Organization at the top of the site.
- Click Actions and Manage Items in the row of the member whose items you want to manage.
The member's My Content page opens.
- Click the item's title to open the item's details page. Here, you have options to perform any of the actions described in Item details. Note that only administrators or members of a custom role with the privilege to reassign ownership can change the owner of an item.
- To reassign ownership of the item, the Overview tab.
- Click Change Owner.
- Select a new owner for the item and specify the folder in which the item will be stored in the new owner's My Content.
Change item ownership in bulk using the command line utility
Changing item ownership in bulk using the command line utility is appropriate if you need to transfer the ownership of multiple members' items to other members in your portal at once. You may need to transfer ownership of items if you are attempting to remove members. Members cannot be removed if they own content or groups.
Use the TransferOwnershipcommand line utility installed with the software to transfer ownership of member items in bulk. The tool is located in the <Portal for ArcGIS installation location>/tools/accountmanagement directory. The tool takes a text file as input and must run on the machine where Portal for ArcGIS is installed.
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 added to the default administrator role. 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 Add members to your portal.
- Create a text file that contains the user names of members that currently own items and the user names of members to which the item's ownership is transferred. Separate user names using a pipe (|). Each line must contain two user names; the first name listed is the current owner and the second name listed is the new owner.
sarah|robert james|qing nichole|jose alex|david
Specify the user name of the members. Do not use the full name of the members; the tool ignores all entries that use the full name of the members. Also note that the user names you type in the text file must be in the same case as they are stored in the portal. Run the ListUsers command line utility or check the Organization page of your portal website to see how the user names are stored.
- Save the text file.
- Run the TransferOwnership command line tool by specifying your text file as the tool's input.
The following example runs the TransferOwnership command with a file named ownershiptotransfer.txt.
./TransferOwnership.sh --file /data/scripts/ownershiptotransfer.txt.
Be sure to use the correct case for command line options and file names.