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
- user_id
- Name of the user. An example of user name is sec_master. Pattern matching can be used when specifying the user name.
- replica_set_name
- Name of the replica set.
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.comThe 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