I can learn how to assign permission for vm from this post:
https://communities.vmware.com/thread/247038
But, i want to RemoveEntityPermission of vm for some user account, any idea?
Thanks.
Hi, you already know the proper function, where is the problem?
my $auth_mgr = Vim::get_view(mo_ref =>Vim::get_service_content()->authorizationManager);
$auth_mgr->RemoveEntityPermissions(entity => $vm, user => $user, isGroup => 0);
Cheers, Pavel