session terminate all_sessions

Terminates all user sessions for a specific user within the specified replica set.

session terminate all_sessions user_id replica-set-name

Options

Examples

The following example terminates all sessions for the sec_master user in the ibm.com replica set:
dscadmin> session terminate all_sessions sec_master ibm.com
The following example terminates all sessions whose user names start with sec_m in the ibm.com replica set:
dscadmin> session terminate all_sessions sec_m* ibm.com

Parent topic: dscadmin command