delete_user_session

Definition

To delete a user session

Command Usage

Syntax

delete_user_session -id <SESSION_ID>

delete_user_session -m <USR_LOGON> [<TOOL_NAME>[<SESSION_ID>]]

Command Arguments
Name Description
Argument -id or -m Delete with a session identifier [-id] or with a logon [-m]
<USR_LOGON> or <SESSION_ID> The user session identifier or the SAP CC logon depending on the type of deletion

Detailed Information

The delete_user_session command deletes an SAP CC user session from the list of running user sessions.

Troubleshooting Operations (System and User)

You use this command to delete a user session:

  • that has not been closed properly because a graphical user interface failed (Core Tool, BART Tool or other application implementing the user session mechanism).
  • Because a Core Tool user urgently requests the right to edit a catalog object already edited by another user in another Core Tool.

You can delete all the user sessions from an SAP CC user.

Caution

Make sure you do not delete a session that is being used by a user.

Note

You can get the identifier of the session to be deleted by using the search_user_session command.

Authorization

You must have a specific role in your SAP CC user profile. Refer to the SAP CC Security Guide for more information about the necessary authorizations.

See Also

search_user_session - To view the list of user sessions currently open

Messages

Code Message Action
err.missing_parameter Error: This command requires at least two arguments.  
err.invalid_syntax Error: Invalid syntax.  
deletion_successful OK: {number} user session(s) deleted.  
session_does_not_exist Error: There is no user session that matches your command.  
operation_failure Error: An error occurred while deleting the user session.