VMware Cloud Community
as900w
Hot Shot
Hot Shot
Jump to solution

How to Identifying Permission Usage

I custom a role.

How do I know which objects use this role?

ESXi 6,Using vSphere Client

1.PNG

ESXi 6.7,don't have vSphere Client, Only have vSphere host client.

How should I view?

Reply
0 Kudos
1 Solution

Accepted Solutions
diegodco31
Leadership
Leadership
Jump to solution

or:

esxcli system permission list

The commands are the same for 6.7

vSphere 6.0 Documentation Center

Diego Oliveira
LinkedIn: http://www.linkedin.com/in/dcodiego

View solution in original post

Reply
0 Kudos
3 Replies
diegodco31
Leadership
Leadership
Jump to solution

It's a little different assigning the user permissions, as it's in a different location from the tab where you create users and roles.

If you got back the default host view and click on the Actions button on the top of the view and go to

Actions -> Permissions

Please consider marking this answer "correct" or "helpful" if you think your question have been answered correctly.

Diego Oliveira
LinkedIn: http://www.linkedin.com/in/dcodiego
Reply
0 Kudos
diegodco31
Leadership
Leadership
Jump to solution

or:

esxcli system permission list

The commands are the same for 6.7

vSphere 6.0 Documentation Center

Diego Oliveira
LinkedIn: http://www.linkedin.com/in/dcodiego
Reply
0 Kudos
SupreetK
Commander
Commander
Jump to solution

You will have to use the command line to know which all objects this role is associated to -

vim-cmd vimsvc/auth/role_permissions role_name --> Replace the role_name with the name of the role you are looking for.

In the output, field 'entity' will be the objects the role is associated with.

Please consider marking this answer as "correct" or "helpful" if you think your questions have been answered.

Cheers,

Supreet

Reply
0 Kudos