


Notice how the only VM that is appearing is the VM we assigned the permissions on.

We can now test our user permissions that we have just defined by pairing the role and the user. This needs to be taken into consideration if permissions are added to a higher level object in vCenter. Notice also the propagate to children checkbox. Now that we have our user selected, we can drop down the Assigned Role combo box and select our TestRole that we created earlier. In this case, we choose testuser and click OK. Now that our domain is selected we can add our desired user. We can pull this down and select our recently added Active Directory domain that was added as an identity source. Notice in the Domain field we have a combo box. The Select Users/Groups dialog box opens allowing us to choose a user. The Add Permission dialog opens where we can Add a user and select a role. To do that, you can right-click a resource, in this case, a VM, and select Add Permission. How do we pair our role to a user? We assign permissions to a resource. Now we see our TestRole showing in our list of available Roles. Here we are assigning most of the "Virtual machine" privileges to the role, but unchecking the "snapshot management" privilege. Let’s create a role called TestRole and assign privileges to the role. Here, we can click the green "+" button to start the add role process. To create a role navigate to the Administration section and then click Roles.
#Add user to vmware vsphere client 6.5 how to#
Download How to create VMware vSphere Role?
