{"action":"closed","issue":{"url":"https://api.github.com/repos/openshift/openshift-restclient-java/issues/286","repository_url":"https://api.github.com/repos/openshift/openshift-restclient-java","labels_url":"https://api.github.com/repos/openshift/openshift-restclient-java/issues/286/labels{/name}","comments_url":"https://api.github.com/repos/openshift/openshift-restclient-java/issues/286/comments","events_url":"https://api.github.com/repos/openshift/openshift-restclient-java/issues/286/events","html_url":"https://github.com/openshift/openshift-restclient-java/issues/286","id":255617049,"number":286,"title":"can't get UID from IUser","user":{"login":"tplevko","id":4180208,"avatar_url":"https://avatars3.githubusercontent.com/u/4180208?v=4","gravatar_id":"","url":"https://api.github.com/users/tplevko","html_url":"https://github.com/tplevko","followers_url":"https://api.github.com/users/tplevko/followers","following_url":"https://api.github.com/users/tplevko/following{/other_user}","gists_url":"https://api.github.com/users/tplevko/gists{/gist_id}","starred_url":"https://api.github.com/users/tplevko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tplevko/subscriptions","organizations_url":"https://api.github.com/users/tplevko/orgs","repos_url":"https://api.github.com/users/tplevko/repos","events_url":"https://api.github.com/users/tplevko/events{/privacy}","received_events_url":"https://api.github.com/users/tplevko/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2017-09-06T14:08:12Z","updated_at":"2018-03-09T15:53:51Z","closed_at":"2018-03-09T15:53:51Z","author_association":"NONE","body":"Using this short code I can get all the users on my minishift instance:\r\n\r\nfinal List<IResource> resource = client.list(\"users\");\r\nfor (IResource r : resource) {\r\n\tIUser user = (IUser) r;\r\n\tlog.info(user.--------);\r\n}\r\n\r\nThere is however no method \"getUid\" in IUser, using which I could get the user UID. \r\nThe oc get user command out for ilustration:\r\nNAME           UID                                    FULL NAME   IDENTITIES\r\naaa            0b234ab8-8ca9-11e7-b4a3-1246c04ae70e               anypassword:aaa\r\naaaa           d9c2fd7b-8bcb-11e7-b4a3-1246c04ae70e               anypassword:aaaa\r\n"}}
{"actor":{"display_login":"adietish"}}