Vimsvc/auth/permissions: Difference between revisions

From VI-Toolkit
Jump to navigation Jump to search
New page: ==== 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. [[Category: vim...
 
No edit summary
 
Line 4: Line 4:
Get all the permissions defined in the system.
Get all the permissions defined in the system.
This will list all the users and roles defined on your ESX host.
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,
    }
]


[[Category: vimsh]]
[[Category: vimsh]]

Latest revision as of 23:33, 28 December 2008

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