Quantcast
Channel: VMware Communities : Discussion List - vSphere Client SDK
Viewing all articles
Browse latest Browse all 2218

How to check multiple privilege for action ?

$
0
0

Hi need to check multiple privileges for some action.

 

<com.vmware.actionsfw.ActionSpec>

               <requiredPrivilege>VirtualMachine.Inventory.Unregister</requiredPrivilege>

               // Can we add multiple Privilege list here

   </com.vmware.actionsfw.ActionSpec>

 

What is sourceTypePrivileges andsourceTypePrivileges?

<sourceTypePrivileges>

                           <com.vmware.vsphere.client.util.move.TypePrivilege>

                              <type>Folder</type>

                              <privilege>VirtualMachine.Inventory.Move</privilege>

                           </com.vmware.vsphere.client.util.move.TypePrivilege>

                           <com.vmware.vsphere.client.util.move.TypePrivilege>

                              <type>Datacenter</type>

                              <privilege>VirtualMachine.Inventory.Move</privilege>

                           </com.vmware.vsphere.client.util.move.TypePrivilege>

         </sourceTypePrivileges>


Viewing all articles
Browse latest Browse all 2218

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>