acs::test::user::create (public)
acs::test::user::create [ -admin ] [ -email email ] [ -locale locale ] \ [ -password password ] [ -user_id user_id ]
Defined in packages/acs-automated-testing/tcl/aa-test-procs.tcl
Create a test user with random email and password for testing. If an email is passed in and the party identified by the password exists, the user_id of this party is returned in the dict.
- Switches:
- -admin (optional, boolean)
- provide this switch to make the user site-wide admin
- -email (optional)
- email for the user to be created
- -locale (optional, defaults to
"en_US"
)- locale for the user to be created
- -password (optional)
- password for the user to be created
- -user_id (optional)
- user_id for the user to be created
- Returns:
- The user_info dict returned by auth::create_user. Contains the additional keys email and password.
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- acs_admin_merge_MergeUserInfo, auth_authenticate, auth_create_user, auth_password_change, auth_password_reset, auth_email_on_password_change, webtest_example, acs_subsite_expose_bug_1144, acs_subsite_check_composite_group, acs_subsite_test_email_confirmation, community_cc_procs, demote_promote_a_user, ad_proc_change_state_member, ad_proc_permission_grant_and_revoke, ad_proc_permission_permission_p, calendar_basic_api, create_form_with_form_instance, create_form_with_numeric, form_validate, nested_self_references