Which vRO object needs to be used to elevate the ESXi local user permissions to "admin" using vRO object?
Seems I can try using VCHostAccessMode.accessAdmin.
This is working now.
host is of type VC:HostSystem
host.configManager.hostAccessManager.changeAccessMode(userName,false,VcHostAccessMode.accessAdmin)
other possible methods - https://www.vmware.com/support/orchestrator/doc/vro-vsphere65-api/html/VcHostAccessMode.html#accessA...
Seems I can try using VCHostAccessMode.accessAdmin.
This is working now.
host is of type VC:HostSystem
host.configManager.hostAccessManager.changeAccessMode(userName,false,VcHostAccessMode.accessAdmin)
other possible methods - https://www.vmware.com/support/orchestrator/doc/vro-vsphere65-api/html/VcHostAccessMode.html#accessA...