Skip to main content
U.S. flag

An official website of the United States government

Adding users to your sandbox

August 08, 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>


  • 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.

An official website of the U.S. General Services Administration

Looking for U.S. government information and services?