|
msiSetQuota |
( |
msParam_t * |
type, |
|
|
msParam_t * |
name, |
|
|
msParam_t * |
resource, |
|
|
msParam_t * |
value, |
|
|
ruleExecInfo_t * |
rei | |
|
) |
| | |
- Description:
- Sets disk usage quota for a user or group
- Module:
- core
- Since:
- 3.0.x
- Author:
- Antoine de Torcy
- Date:
- 2011-07-07
- Note:
- This microservice sets a disk usage quota for a given user or group. If no resource name is provided the quota will apply across all resources.
- Example Usage:
- See clients/icommands/test/rules3.0/
- Parameters:
-
[in] | type | - a STR_MS_T - Can be either "user" or "group" |
[in] | name | - a STR_MS_T with the name of the user or group |
[in] | resource | - Optional - a STR_MS_T with the name of the resource where the quota will apply, or "total" for the quota to be system-wide. |
[in] | value | - an INT_MST_T or DOUBLE_MS_T or STR_MS_T with the quota (in bytes) |
[in,out] | rei | - The RuleExecInfo structure that is automatically handled by the rule engine. The user does not include rei as a parameter in the rule invocation. |
- Session Variables Used:
- rei->uoic->authInfo.authFlag must be >= 5 (local admin)
- Session Variables Modified:
- None
- iCAT Attributes Used:
- None
- iCAT Attributes Modified:
- Updates r_quota_main
- Side Effect:
- None
- Returns:
- integer
- Return values:
-
- Precondition:
- None
- Postcondition:
- None
- See also:
- None
Definition at line 587 of file icatAdminMS.c.
|