Adding users to your sandbox
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>
USERNAMEis the username of the user you want to add
ORGis the name of your sandbox org
SPACEis the name of the space you want the user to have access to within your org.
ROLEis 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.