pyvmomi
pyvmomi copied to clipboard
How could I set permissions on a vm with a windows domain user?
Hello to all, I'm pretty new with python and now we moved into this to manage our VMs but I don't know how to add a permission to an active directory user I found in the documentation a function, vim.AuthorizationManager.Permission() but I don't know how to use it, what more confuses me is "user" stated as "login" for normal and "DOMAIN\login" for windows active directory and "roleId" which directly says integer, here I don't know if there is an Id that I have to know for this or is just random, I mean a can type whatever number I want
Sorry if this is so much noob