Skip to main content
U.S. flag

An official website of the United States government

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Adding users to your sandbox

August 8, 2022

If you would like to add a user to your sandbox org, login to your account via the command line and run:

cf set-space-role <USERNAME> <ORG> <SPACE> <ROLE> 

Where:

  • USERNAME  is the username of the user you want to add
  • ORG  is the name of your sandbox org
  • SPACE  is the name of the space you want the user to have access to within your org.
  • ROLE  is set to one of ‘SpaceManager’, ‘SpaceDeveloper’, or ‘SpaceAuditor’ depending on the level of access you want the user to have.

The next time the user logs back in to their account they will be able to see and access the space you assigned them to.