|
| Local Methods | ||
| Service Types | Data Object Types | All Properties | All Methods |
Methods
| Methods defined in this Service |
|---|
| Policies_Clear, Policies_Get, Policies_List, Policies_ListUnentitledPolicies, Policies_Set, Policies_Update |
Privileges
| Privilege | Description |
|---|---|
| POOL_MANAGEMENT | Requires pool management to clear pool or user policies |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the Policies used to make the method call. |
| resource | EntityId |
Entity Id of resource to clear policy overrides for.
|
| userOrGroup | UserOrGroupId |
User or Group Id of user or group to clear policy overrides
for.
|
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. |
Privileges
| Privilege | Description |
|---|---|
| GLOBAL_CONFIG_VIEW | Requires global configuration view or pool view to get global policies |
| POOL_VIEW | Requires pool view or global configuration view to get global policies. Requires pool view to get pool or user overrides |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the Policies used to make the method call. |
| resource | EntityId |
Entity Id of resource to get policies for.
|
| userOrGroup | UserOrGroupId |
User or Group Id of user or group to get policies for.
|
Return Value
| Type | Description |
|---|---|
| PoliciesInfo | PoliciesInfo object describing policy overrides and effective policies for given resourceId and userId. |
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 |
|---|---|
| POOL_VIEW | Requires pool view to list user policy overrides on a specific pool. |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the Policies used to make the method call. |
| resource | EntityId |
Entity Id of resource to get policies for.
|
Return Value
| Type | Description |
|---|---|
| PoliciesInfo[] | List of complete policies for all users that have specific overrides for this resource. |
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 |
|---|---|
| POOL_VIEW | Requires pool view to list unentitled policy overrides for various users. |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the Policies used to make the method call. |
Return Value
| Type | Description |
|---|---|
| PoliciesInfo[] | List of complete unentitled policies for all users that have specific overrides for this resource. |
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_CONFIG_MANAGEMENT | Requires global configuration management to set global policies |
| POOL_MANAGEMENT | Requires pool management to set pool or user policies |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the Policies used to make the method call. |
| resource | EntityId |
Entity Id of resource to set policies for.
|
| userOrGroup | UserOrGroupId |
User or Group Id of user or group to set policies for.
|
| settings | PoliciesSettings |
Policies object to use as overrides.
|
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. |
Privileges
| Privilege | Description |
|---|---|
| GLOBAL_CONFIG_MANAGEMENT | Requires global configuration management to update global policies |
| POOL_MANAGEMENT | Requires pool management to update pool or user policies |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the Policies used to make the method call. |
| resource | EntityId |
Entity Id of resource to apply this update to.
|
| userOrGroup | UserOrGroupId |
User or Group Id of user or group to apply this update to.
|
| updates | MapEntry[] |
Update map.
|
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. |
| Top of page | Local Methods | ||
| Service Types | Data Object Types | All Properties | All Methods |