Logoff (session id of logged in user)

Hi AlanM

I’m struggling with this problem too, but i don’t quite understand it.
Let say I have user X that is logged on on the device.
I’m user Y managing the console.

If I use

override wait
   runas=currentuser
wait logoff

Will it run with user X or does user Y needs to be logged on to do this?

Thanks for your reply.

Greetings