- OpenShift Cookbook
- Shekhar Gulati
- 237字
- 2021-08-05 17:37:40
Viewing all the members in a domain using rhc
There may be a situation when you want to view all the members in a domain. If so, you should follow this recipe.
Getting ready
To complete this recipe, you will need to have rhc installed on your machine. Please refer to the Installing the OpenShift rhc command-line client recipe in Chapter 1, Getting Started with OpenShift, for instructions.
You will need two OpenShift accounts to work through this recipe. Please refer to the Creating an OpenShift Online account recipe in Chapter 1, Getting Started with OpenShift, for OpenShift account registration instructions.
How to do it…
To view all the members added to the osbook
domain, run the following command:
$ rhc list-member --namespace osbook
How it works…
The result of the rhc list-member
command is shown as follows:
Login Role --------------------------------- ------------- openshift.cookbook@gmail.com admin (owner) openshift.cookbook.test@gmail.com admin
The rhc list-member
command makes a GET
request to fetch all the information about the osbook
domain. The rhc client then parses the JSON response and shows the relevant information to the user.
There's more…
You can also use a shortcut command to fetch all the members in a domain:
$ rhc members --namespace osbook
See also
- The Adding viewer members to a domain using rhc recipe
- The Adding an admin member to a domain using rhc recipe
- The Viewing all the members in a domain using rhc recipe
- Application Development with Qt Creator(Second Edition)
- JBoss EAP6 High Availability
- Drush User’s Guide
- 物聯網之霧:基于霧計算的智能硬件快速反應與安全控制
- Kong網關:入門、實戰與進階
- 網絡AI+:2030后的未來網絡
- 高級網絡技術
- Learning Node.js Development
- Practical Web Penetration Testing
- AIoT應用開發與實踐
- 云計算技術與標準化
- 5G非正交多址接入技術:理論、算法與實現
- 數字王國里的虛擬人:技術、商業與法律解讀
- 巧學活用CISCO網絡典型配置
- 網絡安全和信息化黨政領導干部一本通