To assign roles in vCenter, follow these steps:
1. Log in to vCenter using the vSphere Web Client.
2. Click on the “Home” button in the top left corner of the screen.
3. Expand the “Administration” section in the left-hand menu.
4. Click on “Roles” and then click on the green plus sign to create a new role.
5. Name the role and select the permissions you want to assign to it from the list.
6. Click “OK” to save the new role.
7. To assign the role to a user or group, click on the “Users and Groups” tab and select the user or group you want to assign the role to.
8. Click the “Add” button and then select the role you just created.
9. Click “Add” again to assign the role to the user or group.
10. Click “OK” to save the changes.
The user or group will now have the permissions assigned to the role you created.