Book Image

OpenShift Cookbook

By : Shekhar Gulati
Book Image

OpenShift Cookbook

By: Shekhar Gulati

Overview of this book

Table of Contents (19 chapters)
OpenShift Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Running OpenShift on a Virtual Machine
Index

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
--------------------------------- -------------
[email protected] admin (owner)
[email protected] admin

The rhc list-member command makes a GET request...