Ce contenu n'est pas disponible dans la langue sélectionnée.

7.2. Managing Domain Membership


7.2.1. Adding a Member

Add a user to a domain with the following command, specifying the user login and domain name. The user login must be a registered OpenShift Enterprise user.
$ rhc member add user@myemail.com -n Domain_Namerhc member add user@myemail.com -n Domain_Namerhc member add user@myemail.com -n Domain_Namerhc member add user@myemail.com -n Domain_Name
Copy to Clipboard Toggle word wrap
When a member is added to a domain, they receive the default role of edit. Use the --role option when adding a member to specify a different role:
$ rhc member add user@myemail.com -n Domain_Name --role Member_Rolerhc member add user@myemail.com -n Domain_Name --role Member_Rolerhc member add user@myemail.com -n Domain_Name --role Member_Rolerhc member add user@myemail.com -n Domain_Name --role Member_Rolerhc member add user@myemail.com -n Domain_Name --role Member_Rolerhc member add user@myemail.com -n Domain_Name --role Member_Role
Copy to Clipboard Toggle word wrap
Adding a Team to a Domain

When adding a team to a domain, use the --type option with team specified:

$ rhc member add Team_Name -n Domain_Name --type teamrhc member add Team_Name -n Domain_Name --type teamrhc member add Team_Name -n Domain_Name --type teamrhc member add Team_Name -n Domain_Name --type teamrhc member add Team_Name -n Domain_Name --type team
Copy to Clipboard Toggle word wrap

A global team can be added with the --global option:
$ rhc member add Global_Team_Name -n Domain_Name --type team --globalrhc member add Global_Team_Name -n Domain_Name --type team --globalrhc member add Global_Team_Name -n Domain_Name --type team --globalrhc member add Global_Team_Name -n Domain_Name --type team --globalrhc member add Global_Team_Name -n Domain_Name --type team --global
Copy to Clipboard Toggle word wrap
You can also add a team by specifying the team ID:
$ rhc member add Team_ID -n Domain_Name --type team --idsrhc member add Team_ID -n Domain_Name --type team --idsrhc member add Team_ID -n Domain_Name --type team --idsrhc member add Team_ID -n Domain_Name --type team --idsrhc member add Team_ID -n Domain_Name --type team --ids
Copy to Clipboard Toggle word wrap

Note

As with adding a member, use the --role option.
Retour au début
Red Hat logoGithubredditYoutubeTwitter

Apprendre

Essayez, achetez et vendez

Communautés

À propos de la documentation Red Hat

Nous aidons les utilisateurs de Red Hat à innover et à atteindre leurs objectifs grâce à nos produits et services avec un contenu auquel ils peuvent faire confiance. Découvrez nos récentes mises à jour.

Rendre l’open source plus inclusif

Red Hat s'engage à remplacer le langage problématique dans notre code, notre documentation et nos propriétés Web. Pour plus de détails, consultez le Blog Red Hat.

À propos de Red Hat

Nous proposons des solutions renforcées qui facilitent le travail des entreprises sur plusieurs plates-formes et environnements, du centre de données central à la périphérie du réseau.

Theme

© 2025 Red Hat