GlideSessions.lockOutSessionsInAllNodes

suvro
Mega Sage
Mega Sage

Hi,

I do not find any documentation regarding "GlideSessions.lockOutSessionsInAllNodes"

we have created two UI pages.

In 1st UI page we are authenticating users by taking username and password as input and we are trying to log that user (whose username is entered) out using the

GlideSessions.lockOutSessionsInAllNodes(username); command, but it is not working. When we use admin(system admin) credentials for the above authentication, the current logged in user gets logged out when GlideSession command is run.

Any kind of help will be appreciated.

Thanks and Regards,

Chandra

1 REPLY 1

sergiu_panaite
ServiceNow Employee
ServiceNow Employee

GlideSessions.lockOutSessionsInAllNodes(username); as the name says just locks out all sessions of a user from all app nodes.



How are you using it in the UI Page, can you show an example where it works and one where it doesn't?