Uses of Class
com.xensource.xenapi.Role
-
Uses of Role in com.xensource.xenapi
Fields in com.xensource.xenapi with type parameters of type RoleModifier and TypeFieldDescriptionSubject.Record.roles
the roles associated with this subject First published in XenServer 5.6.Role.Record.subroles
a list of pointers to other roles or permissionsMethods in com.xensource.xenapi that return RoleModifier and TypeMethodDescriptionstatic Role
Role.getByUuid
(Connection c, String uuid) Get a reference to the role instance with the specified UUID.static Role
Types.toRole
(Task task, Connection connection) static Role
Methods in com.xensource.xenapi that return types with arguments of type RoleModifier and TypeMethodDescriptionRole.getAll
(Connection c) Return a list of all the roles known to the system.static Map<Role,
Role.Record> Role.getAllRecords
(Connection c) Return a map of role references to role records for all roles known to the system.Role.getByNameLabel
(Connection c, String label) Get all the role instances with the given label.Role.getByPermission
(Connection c) This call returns a list of roles given a permission Minimum allowed role: read-only First published in XenServer 5.6.Role.getByPermissionNameLabel
(Connection c, String label) This call returns a list of roles given a permission name Minimum allowed role: read-only First published in XenServer 5.6.Role.getPermissions
(Connection c) This call returns a list of permissions given a role Minimum allowed role: read-only First published in XenServer 5.6.Subject.getRoles
(Connection c) Get the roles field of the given subject.Role.getSubroles
(Connection c) Get the subroles field of the given role.static Map<Role,
Role.Record> Types.toMapOfRoleRoleRecord
(Object object) Types.toSetOfRole
(Object object) Methods in com.xensource.xenapi with parameters of type RoleModifier and TypeMethodDescriptionvoid
Subject.addToRoles
(Connection c, Role role) This call adds a new role to a subject Minimum allowed role: pool-admin First published in XenServer 5.6.void
Subject.removeFromRoles
(Connection c, Role role) This call removes a role from a subject Minimum allowed role: pool-admin First published in XenServer 5.6.