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… ...
Get OpenShift Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.