Vimsvc/auth/permissions
vimsh vimsvc/auth/permissions
Usage: permissions
Get all the permissions defined in the system. This will list all the users and roles defined on your ESX host.
example output
Example output against a new ESX3.5i host:
# vmware-vim-cmd -H 10.10.10.10 -U root -P password vimsvc/auth/permissions (vim.AuthorizationManager.Permission) [ (vim.AuthorizationManager.Permission) { dynamicType = <unset>, entity = 'vim.Folder:ha-folder-root', principal = "dcui", group = false, roleId = -1, propagate = true, }, (vim.AuthorizationManager.Permission) { dynamicType = <unset>, entity = 'vim.Folder:ha-folder-root', principal = "root", group = false, roleId = -1, propagate = true, } ]