This knowledge article provides step-by-step instructions on how to add a new user to a Cloud Foundry (CF) organization using the Cloud Foundry Command Line Interface (CF CLI). The process involves installing the CF CLI, logging into CF, and assigning roles to the user within the organization. The article also includes optional steps for setting up proxies if behind a corporate firewall.
set http_proxy=http://coia.hcvpc.io:9400 set https_proxy=http://coia.hcvpc.io:9400
cf login -a https://api.cf.eu1.mindsphere.io -sso
cf set-org-role EMAIL ORG OrgManagerReplace EMAIL with the user's email address.
For more details please follow this documentation:
https://documentation.mindsphere.io/MindSphere/howto/howto-user-permissions.html#adding-the-user-to-your-cloud-foundry-org
Note:
Ensure that the user performing these actions has the necessary privileges in Cloud Foundry.
It's important to customize the command based on the desired role and organization.