This message was deleted.
# general
a
This message was deleted.
m
You can do this by querying the rancher api directly. curl the
/v3/globalRoleBindings
and parse it with jq for
.globalRoleId == "restricted-admin"
and get the
.userId
. Then you can pipe the user-ids which are like
u-phjvz
and make another curl request to the rancher api at
/v3/users/u-phjvz
and parse for the username.
b
Thanks! Will give it a shot!