• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Yellow Bricks

by Duncan Epping

  • Home
  • Unexplored Territory Podcast
  • HA Deepdive
  • ESXTOP
  • Stickers/Shirts
  • Privacy Policy
  • About
  • Show Search
Hide Search

Adding a role to a user from the Service Console

Duncan Epping · Nov 24, 2008 ·

Three weeks ago I blogged about a powershell script that can assign roles to users. This is very handy when doing scripted installs cause it seemed that it was impossible to add a role to a user from the Service Console. Today we had a discussion via email and my colleague from South Africa, Hugo, actually found out how to add a role to a certain user from the Service Console:

vmware-vim-cmd vimsvc/auth/entity_permission_add vim.Folder:ha-folder-root 'newuser' false ReadOnly true

The command used is “vmware-vim-cmd” aka “vimsh”. “vim.Folder:ha-folder-root” is on cluster level, ‘newuser’ is the username of the user you want to add the role to and the role is “ReadOnly”. False and true are values for “isgroup” and “propagate”.

Great job Hugo, and thanks for letting me know about this solution.

Related

Management & Automation, Server ESX, esxi, Scripting

Reader Interactions

Comments

  1. pornstar says

    25 November, 2008 at 09:10

    sweet.. by the way do you know of a good way to join a virtual center server from the ESX host without using midwife?

  2. Tori Black says

    2 March, 2010 at 12:49

    Howdy, excelent, this is super stuff, keep up the good work.Greetings

  3. Jo says

    28 February, 2013 at 11:45

    Thanks ! Work great !

Primary Sidebar

About the Author

Duncan Epping is a Chief Technologist and Distinguished Engineering Architect at Broadcom. Besides writing on Yellow-Bricks, Duncan is the co-author of the vSAN Deep Dive and the vSphere Clustering Deep Dive book series. Duncan is also the host of the Unexplored Territory Podcast.

Follow Us

  • X
  • Spotify
  • RSS Feed
  • LinkedIn

Recommended Book(s)

Advertisements




Copyright Yellow-Bricks.com © 2025 · Log in