Access level for only to kick the hotspot user..

Hi all…

any idea how i can set the access for just to kick the Hotspot user?
i need it to work with a script to have self logout feature instead just depend on the idle time out setting.

thanks.

Self logout based on what ???