VMware Cloud Community
SkaDan
Contributor
Contributor
Jump to solution

Restricting VM Selecting While Running a Workflow?

When a user logs into the vSphere Web Client, they only see the VMs they have permissions on - this avoids a lot of confusion.

When the same user runs a workflow from the vCO Web Operator or Client, they are presented with the entire vCenter directory tree - asking a user to drill through 1,000 VMs is difficult.

Is there a way to limit the VC:VirtualMachine input to only the VMs the user as access to?

I've got a few Snapshot workflows, but the snapshot options that precede the workflows in the vSphere web client will no doubt create confusion. So I'm hoping to only educate users on the vCO Web Operator or Client. This is version 5.1.2

Thanks!

0 Kudos
1 Solution

Accepted Solutions
cdecanini_
VMware Employee
VMware Employee
Jump to solution

If you need users to see only the VMs they have permission in vCenter than configure your vCenter plug-in for session per user instead of shared session.

If my answer resolved or helped you, please mark it as Correct or Helpful to award points. Thank you! Visit http://www.vcoteam.info & http://blogs.vmware.com/orchestrator for vCenter Orchestrator tips and tutorials - @vCOTeam on Twitter

View solution in original post

0 Kudos
2 Replies
SkaDan
Contributor
Contributor
Jump to solution

There's got to be a way to script out a drop down VM list or something? The only thing I've up with is calling all VMs with System.getModule("com.vmware.library.vc.vm").getAllVMs(); and then passing that array to a User Interaction object... then you've got this prepopulated selection of a few dozen VMs!

0 Kudos
cdecanini_
VMware Employee
VMware Employee
Jump to solution

If you need users to see only the VMs they have permission in vCenter than configure your vCenter plug-in for session per user instead of shared session.

If my answer resolved or helped you, please mark it as Correct or Helpful to award points. Thank you! Visit http://www.vcoteam.info & http://blogs.vmware.com/orchestrator for vCenter Orchestrator tips and tutorials - @vCOTeam on Twitter
0 Kudos