Class VcPermission

Extends VcDynamicData
This data object type provides assignment of some role access to a principal on a specific entity. A ManagedEntity is limited to one permission per principal.


Name Type Description
entity VcManagedEntity Managed entity the permission is defined on. Left unset when calling setPermissions or resetPermissions, but present for the results of permission queries.
group boolean Whether principal refers to a user or a group. True for a group and false for a user.
principal String User or group receiving access in the form of "login" for local or "DOMAIN\login" for users in a Windows domain.
propagate boolean Whether or not this permission propagates down the hierarchy to sub-entities.
roleId Number Reference to the role providing the access.


Name Returns
VcPermission() constructor

Returned by

Method Returns
com.vmware.vmo.plugin.vi4.model.VimManagedEntity.getPermission() VcPermission[]
VcAuthorizationManager.retrieveAllPermissions() VcPermission[]
VcAuthorizationManager.retrieveEntityPermissions(VcManagedEntity entity, boolean inherited) VcPermission[]
VcAuthorizationManager.retrieveRolePermissions(Number roleId) VcPermission[]

Referenced in

Method Returns
VcAuthorizationManager.resetEntityPermissions(VcManagedEntity entity, VcPermission[] permission) void
VcAuthorizationManager.setEntityPermissions(VcManagedEntity entity, VcPermission[] permission) void