Search

7.2. Managing Domain Membership

download PDF

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_Name
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_Role
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 team

A global team can be added with the --global option:
$ rhc member add Global_Team_Name -n Domain_Name --type team --global
You can also add a team by specifying the team ID:
$ rhc member add Team_ID -n Domain_Name --type team --ids

Note

As with adding a member, use the --role option.
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.