Files
deb-python-pyvmomi/docs/vim/AuthorizationManager/Permission.rst
Shawn Hartsock 15f7be9a52 pyVmomi reStructured Text Documentation
This external documentation for pyVmomi was generated using Googly Docs
(aka Google Standard Documentation) which renders very cleanly in
GitHub. Internal documentation for a class should be done in Sphinx
format because tools like pyCharm and Eclipse can use that documentation
as a hint for code completion.

Note: External docs as Googly Docs, internal docs as Sphinx.

Closes bug#15
2014-06-17 14:07:42 -04:00

1.2 KiB

vim.AuthorizationManager.Permission

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.

extends

vmodl.DynamicData

Attributes:

entity (vim.ManagedEntity, optional):

Managed entity the permission is defined on. Left unset when calling setPermissions or resetPermissions, but present for the results of permission queries.

principal (str):

User or group receiving access in the form of "login" for local or "DOMAINlogin" for users in a Windows domain.

group (bool):

Whether principal refers to a user or a group. True for a group and false for a user.

roleId (int):

Reference to the role providing the access.

propagate (bool):

Whether or not this permission propagates down the hierarchy to sub-entities.