Vimsvc/auth/role permissions: Difference between revisions
Jump to navigation
Jump to search
New page: ==== vimsh vimsvc/auth/role_permissions ==== Usage: role_permissions roleName Gets defined permissions associated with a role. Category: Vimsh |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 3: | Line 3: | ||
Gets defined permissions associated with a role. | Gets defined permissions associated with a role. | ||
The roleName is case sensitive. | |||
====example output==== | |||
Here's the output of the command when executed against a default setup on an ESX3.5iU3 host. | |||
# vmware-vim-cmd -H 10.10.10.10 -U root -P password vimsvc/auth/role_permissions Anonymous | |||
(vim.AuthorizationManager.Permission) [] | |||
# vmware-vim-cmd -H 10.10.10.10 -U root -P password vimsvc/auth/role_permissions ReadOnly | |||
(vim.AuthorizationManager.Permission) [] | |||
# vmware-vim-cmd -H 10.10.10.10 -U root -P password vimsvc/auth/role_permissions Admin | |||
(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:26, 28 December 2008
vimsh vimsvc/auth/role_permissions
Usage: role_permissions roleName
Gets defined permissions associated with a role. The roleName is case sensitive.
example output
Here's the output of the command when executed against a default setup on an ESX3.5iU3 host.
# vmware-vim-cmd -H 10.10.10.10 -U root -P password vimsvc/auth/role_permissions Anonymous (vim.AuthorizationManager.Permission) [] # vmware-vim-cmd -H 10.10.10.10 -U root -P password vimsvc/auth/role_permissions ReadOnly (vim.AuthorizationManager.Permission) [] # vmware-vim-cmd -H 10.10.10.10 -U root -P password vimsvc/auth/role_permissions Admin (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, } ]