Hi,
you can :
- Configure AD attributes like starthour and endhour with format : 8:00
-
create variable assign with following expression:
- check if starttime is in expected range with:
Branch expression
expr { [mcget {session.user.starttime}] >= [mcget {session.custom.starthour}] && [mcget {session.custom.endhour}] >= [mcget {session.user.starttime}] }
- define max session timeout variable to disconnect user at expected hour
session.max_session_timeout =
expr { [mcget {session.custom.endhour}] - [mcget {session.user.starttime}] }
So, you can do what you want...