If you are not familiar with the oc command, refer to OpenShift - Getting Started with the oc command.
A node contains one or more pods, and each pod contains one or more containers.
The oc get users command can be used to list the users that have logged into OpenShift.
Users will not be listed until they have logged into OpenShift at least once.
~]# oc get users NAME UID FULL NAME IDENTITIES john.doe 6b9b184a-cfea-44bf-ad62-a4a3454881cc john.doe htpasswd_provider:john.doe jane.doe 5ad8f659-64ce-4c9c-9ca0-fe69521fd7f2 jane.doe my-ldap:Y249YzA0NDIwNixvdT11c2VycyxPPVRocml2ZW50
Similarly, the oc list identity command can be used to list the users that exist on the system under a particular identity provider.
Identities will not be listed until they have logged into OpenShift at least once.
~]$ oc get identity NAME IDP NAME IDP USER NAME USER NAME USER UID htpasswd_provider:john.doe htpasswd_provider john.doe john.doe 6b9b184a-cfea-44bf-ad62-a4a3454881cc my-ldap:Y249YzA0NDIwNixvdT11c2VycyxPPVRocml2ZW50 my-ldap Y249YzA0NDIwNixvdT11c2VycyxPPVRocml2ZW50 jane.doe 5ad8f659-64ce-4c9c-9ca0-fe69521fd7f2 my-ldap:Y249YzA0NDQ2OSxvdT11c2VycyxPPVRocml2ZW50 my-ldap Y249YzA0NDQ2OSxvdT11c2VycyxPPVRocml2ZW50 jack.doe eb31ca82-4af7-477f-b6c7-53661b685189
The oc delete user command can be used to delete a user account.
~]$ oc delete user john.doe
And then the oc delete identity command can be used to delete the user identity.
~]# oc delete identity john.doe