acs::test::user::delete (public)
acs::test::user::delete -user_id user_id \ [ -delete_created_acs_objects ]
Defined in packages/acs-automated-testing/tcl/aa-test-procs.tcl
Remove a test user.
- Switches:
- -user_id (required)
- -delete_created_acs_objects (optional, boolean, defaults to
"false"
)- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- webtest_example
Source code: # # Delete modifying user info, since otherwise we cannot delete # the user_id. The modifying user is e.g. propagated to parent # objss when modifying a page in the content reposistory. # db_dml unset_modifying_user { UPDATE acs_objects SET modifying_user = NULL where modifying_user = :user_id } # # If desired, delete the created acs_objects of this user. # if {$delete_created_acs_objects_p} { db_dml unset_modifying_user { delete from acs_objects where creation_user = :user_id } } acs_user::delete -user_id $user_id -permanentXQL Not present: Generic, PostgreSQL, Oracle