Vimsvc/auth/permissions

From VI-Toolkit
Revision as of 23:33, 28 December 2008 by Wila (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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,
   }
]