|
msiCreateUser |
( |
ruleExecInfo_t * |
rei |
) |
|
- Description:
- This microservice creates a new user
- Module:
- core
- Since:
- pre-2.1
- Author:
- Wayne Schroeder
- Date:
- 2008 or before
- Note:
- Should not be used outside of the rules defined in core.irb. This is called via an 'iadmin' command.
-
From the irods wiki: https://www.irods.org/index.php/Rules
-
The "acCreateUser" rule, for example, calls "msiCreateUser". If that succeeds it invokes the "acCreateDefaultCollections" rule (which calls other rules and msi routines). Then, if they all succeed, the "msiCommit" function is called to save persistent state information.
- Example Usage:
- See clients/icommands/test/rules3.0/
- Parameters:
-
[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->rsComm->clientUser.authFlag (must be admin)
- Session Variables Modified:
- none
- iCAT Attributes Used:
- checks various tables
- iCAT Attributes Modified:
- updates various tables
- Side Effect:
- none
- Returns:
- integer
- Return values:
-
- Precondition:
- none
- Postcondition:
- none
- See also:
- none
Definition at line 52 of file icatAdminMS.c.
|