auth::sync::job::snapshot_delete_remaining (public)
auth::sync::job::snapshot_delete_remaining -job_id job_id
Defined in packages/acs-authentication/tcl/sync-procs.tcl
Deletes the users that weren't included in the snapshot.
- Switches:
- -job_id (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- sync_snapshot
Source code: set authority_id [get_authority_id -job_id $job_id] set usernames [db_list select_user_ids { select username from cc_users where authority_id = :authority_id and user_id not in (select user_id from auth_batch_job_entries where job_id = :job_id and authority_id = :authority_id) and member_state != 'banned' }] foreach username $usernames { auth::sync::job::action -job_id $job_id -operation "delete" -username $username }Generic XQL file: packages/acs-authentication/tcl/sync-procs.xql
PostgreSQL XQL file: packages/acs-authentication/tcl/sync-procs-postgresql.xql
Oracle XQL file: packages/acs-authentication/tcl/sync-procs-oracle.xql