Created
September 26, 2019 14:35
-
-
Save gayashanbc/957b01ca7b84eb1a4518c62f97e09e5b to your computer and use it in GitHub Desktop.
getUserSessions(user) demo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var sessions = getUserSessions(user); | |
for(var key in sessions) { | |
Log.info(sessions[key].userAgent.browser); // Print the web browser of each user session | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment