Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3323

Close user sessions on all application Servers

$
0
0

Hello,

 

i get a user list in a report:

 

CALL FUNCTION 'TH_USER_LIST'

     TABLES

       list          = gi_user_list

     EXCEPTIONS

       auth_misssing = 1

       OTHERS        = 2.


So I will get the user sessions which are online on the instance where I start the report. I take also the server list with  TH_SERVER_LIST and kill the users with

CALL FUNCTION 'TH_DELETE_USER'

         DESTINATION gwa_server-name

         EXPORTING

           user            = g_user

           client          = g_mand

         EXCEPTIONS

           authority_error = 1.


But if one user is only logged in an other application server he will not be killed.

Is there a solution where I can get the user list of all application servers and so I can end all the sessions? Or, is there a function module which end all sessions on all application servers?


Viewing all articles
Browse latest Browse all 3323

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>