User accounts
A user account allows a user to log in to Cloud Foundry and perform certain operations that are limited by the roles assigned to them by the Cloud Foundry Administrator.
The user accounts can be created at an Org or Space level, based on the role they play in the organization. The same user can administer the Org and Space, or can be restricted to pushing applications to a given Space or Spaces.
Additionally, a user can span across multiple spaces in an Org, and under each Space, they can be controlled by the Space role.
Create a user using the cf CLI
Let us take a look at how to add a user to our cf-my-first-org
Org in Pivotal PCF Dev. To do this, we need to specify the Cloud Foundry API endpoint of PCF Dev, which is https://api.local.pcfdev.io, and also skip the SSL validation:
Figure 19: Login to the PCF Dev using cf CLI
Next, select the cf-my-first-org
from the Org list presented to you on the command line:
Figure 20: Select the Org and Space upon successful login using cf CLI...