Reply to Message

View discussion in a popup

Replying to:
natxoasenjo
Enthusiast
Enthusiast

createrole.pl

on the forum I found the createrole.pl script (https://developercenter.vmware.com/forums?id=3088#245019) but it does not work:

perl createRole.pl --server esxxxx --username root --password xxxxx --rolename "remove datastores" --privileges "Datastore.browse"

Possible precedence issue with control flow operator at /home/j.asenjo/perl5/perlbrew/perls/perl-5.20.1/lib/site_perl/5.20.1/VMware/VICommon.pm line 2141.

Creating new role: "remove datastores" with the following privileges:

Datastore.browse

Error:

SOAP Fault:

-----------

Fault string: A specified parameter was not correct.

privIds

Any idea what I am doing wrong?

Thanks!

Reply
0 Kudos