session terminate all_sessions

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

Syntax

session terminate all_sessions user_id replica-set-name

Options

user_id
Specifies the 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
Specifies the 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.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