twt::user::create (public, deprecated)
twt::user::create [ -user_id user_id ] [ -admin ]
Defined in packages/acs-automated-testing/tcl/tclwebtest-procs.tcl
Deprecated. Invoking this procedure generates a warning.
Create a test user with random email and password for testing
- Switches:
- -user_id (optional)
- -admin (optional, boolean)
- Provide this switch to make the user site-wide admin
- Returns:
- The user_info array list returned by auth::create_user. Contains the additional keys email and password.
- Author:
- Peter Marklund
- See Also:
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: ad_log_deprecated proc twt::user::create return [acs::test::user::create -user_id $user_id -admin=$admin_p]XQL Not present: Generic, PostgreSQL, Oracle