Howto check a user is logged in to instance or not

Venkata Ramya V
Kilo Contributor

How to check a user is logged in or not

1 ACCEPTED SOLUTION

Chandra Sekhar6
Tera Guru

We can go to the user record and checked last login field

If you want to check whether a user is logged at the moment, then we have a method isLoggedIn

you can use gs.isLoggedIn();  //it will return true if the user is logged in

View solution in original post

1 REPLY 1

Chandra Sekhar6
Tera Guru

We can go to the user record and checked last login field

If you want to check whether a user is logged at the moment, then we have a method isLoggedIn

you can use gs.isLoggedIn();  //it will return true if the user is logged in