|
| Local Methods | ||
| Service Types | Data Object Types | All Properties | All Methods |
Methods
| Methods defined in this Service |
|---|
| Role_Create, Role_Delete, Role_Get, Role_List, Role_Update |
Privileges
| Privilege | Description |
|---|---|
| GLOBAL_ROLE_MANAGEMENT | Role management privilege is required to create a role. |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the Role used to make the method call. |
| base | RoleBase |
attributes needed to add a role
|
Return Value
| Type | Description |
|---|---|
| RoleId | unique identifier |
Faults
| Type | Description |
|---|---|
| EntityNotFound | Thrown if any specified entity cannot be found. |
| InsufficientPermission | Thrown if the user does not have sufficient permission to perform the operation. |
| InvalidArgument | Thrown if any specified argument is invalid. |
| InvalidType | Thrown if the type of any specified argument is invalid. |
| UnexpectedFault | Thrown if an unexpected error occurs while performing the operation. |
Events
| Event | Description |
|---|---|
| ADMIN_ROLE_ADDED | Sent when a role is successfully created. |
| ADMIN_ROLE_ADD_FAILED | Sent when a role fails to be created. |
Privileges
| Privilege | Description |
|---|---|
| GLOBAL_ROLE_MANAGEMENT | Role management privilege is necessary to delete a role. |
| GLOBAL_PERMISSION_VIEW | Permission read access privilege is necessary to delete a role. |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the Role used to make the method call. |
| id | RoleId |
RoleId of entity to delete.
|
Return Value
| Type | Description |
|---|---|
| None | |
Faults
| Type | Description |
|---|---|
| EntityNotFound | Thrown if any specified entity cannot be found. |
| InsufficientPermission | Thrown if the user does not have sufficient permission to perform the operation. |
| InvalidArgument | Thrown if any specified argument is invalid. |
| InvalidType | Thrown if the type of any specified argument is invalid. |
| UnexpectedFault | Thrown if an unexpected error occurs while performing the operation. |
Events
| Event | Description |
|---|---|
| ADMIN_ROLE_REMOVED | Sent when a role is successfully deleted. |
| ADMIN_ROLE_REMOVE_FAILED | Sent when a role fails to be deleted. |
Privileges
| Privilege | Description |
|---|---|
| GLOBAL_ROLE_VIEW | Role read access privilege is required to read a role. |
| GLOBAL_PERMISSION_VIEW | Permission read access privilege is required to include any permission information in a role. |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the Role used to make the method call. |
| id | RoleId |
RoleId of entity to get.
|
Return Value
| Type | Description |
|---|---|
| RoleInfo | requested role entity. |
Faults
| Type | Description |
|---|---|
| EntityNotFound | Thrown if any specified entity cannot be found. |
| InsufficientPermission | Thrown if the user does not have sufficient permission to perform the operation. |
| InvalidArgument | Thrown if any specified argument is invalid. |
| InvalidType | Thrown if the type of any specified argument is invalid. |
| UnexpectedFault | Thrown if an unexpected error occurs while performing the operation. |
Privileges
| Privilege | Description |
|---|---|
| GLOBAL_ROLE_VIEW | Role read access privilege is required to read all role. |
| GLOBAL_PERMISSION_VIEW | Permission read access privilege is required to include any permission information in any roles. |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the Role used to make the method call. |
Return Value
| Type | Description |
|---|---|
| RoleInfo[] | The list of roles. |
Faults
| Type | Description |
|---|---|
| EntityNotFound | Thrown if any specified entity cannot be found. |
| InsufficientPermission | Thrown if the user does not have sufficient permission to perform the operation. |
| InvalidArgument | Thrown if any specified argument is invalid. |
| InvalidType | Thrown if the type of any specified argument is invalid. |
| UnexpectedFault | Thrown if an unexpected error occurs while performing the operation. |
Privileges
| Privilege | Description |
|---|---|
| GLOBAL_ROLE_MANAGEMENT | Role management privilege is required to update a role. |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the Role used to make the method call. |
| id | RoleId |
RoleId of entity to update.
|
| updates | MapEntry[] |
key value pairs describing attributes to be updated
|
Return Value
| Type | Description |
|---|---|
| None | |
Faults
| Type | Description |
|---|---|
| EntityNotFound | Thrown if any specified entity cannot be found. |
| InsufficientPermission | Thrown if the user does not have sufficient permission to perform the operation. |
| InvalidArgument | Thrown if any specified argument is invalid. |
| InvalidType | Thrown if the type of any specified argument is invalid. |
| UnexpectedFault | Thrown if an unexpected error occurs while performing the operation. |
Events
| Event | Description |
|---|---|
| ADMIN_ROLE_PRIV_UPDATED | Sent when a role is successfully updated. |
| ADMIN_ROLE_PRIV_UPDATE_FAILED | Sent when a role fails to be updated. |
| Top of page | Local Methods | ||
| Service Types | Data Object Types | All Properties | All Methods |