cancel
Showing results for 
Search instead for 
Did you mean: 

How to set timeout for user login

Former Member
0 Kudos

Dear All,

I have 1 user, but he only work in the morning.

How can set timeout for him? he only can login from 8:00am to 11:30am, and after 11:30am, it will auto logout and can not login again until 8:00am next day.

Many thanks !

ngocvt

Accepted Solutions (1)

Accepted Solutions (1)

yogendra_bhaskar
Contributor
0 Kudos

hi Vu Tuan Ngoc ,

You can use FM TH_DELETE_USER , just pass the user name and client in it.

Set this at when current time is 11:30 AM.

regards ,

Yogendra Bhaskar

Former Member
0 Kudos

Hi Yogendra Bhaskar

I don't want to delete user, only want lock user after 11:30am and unlock after 8:00am next day.

Thanks,

ngocvt

Former Member
0 Kudos

Hi Vu Tuan,

As my suggestion, if you want to do the same you have to write a Zreport to lock and unlock the user and schedule the same in background for that time period. So that whenever the job run on that particular peroid the user can able to login and also lock the user after that time.

Hope this helps.

yogendra_bhaskar
Contributor
0 Kudos

hi ,

User will not be deleted , only the session created by user will be killed.

regards,

Yogendra Bhaskar

Answers (2)

Answers (2)

Reagan
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello

Your requirement is a bit strange.

If the user is allowed to work only from 8:00am to 11:30am then the user should do that.

If he is not allowed to login to the application after this time then you should find that out from Audit log and get an explanation from him as to what and why he used the application.

Cheers

RB

alok_patra
Participant
0 Kudos

I don't think you can do this at user level, for all SAP user you can use Operation mode to set the time window.

Thanks,

Alok