- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
02-20-2023 09:37 AM
Does anyone have a script or know a way to display the currently signed-in XSOAR users?
Basically, i'd like a dashboard widget with active users signed-in....
Let me know your thoughts -
Thanks again,
Boyd
02-21-2023 08:48 AM - edited 02-21-2023 08:50 AM
Create a new Automation (GetXSOAROnlineUsers), with a tag of "widget".
demisto.results(demisto.executeCommand("getUsers", {"online":"true"})[0]["HumanReadable"])
Then basically create a text based widget that uses that automation script.
02-21-2023 08:48 AM - edited 02-21-2023 08:50 AM
Create a new Automation (GetXSOAROnlineUsers), with a tag of "widget".
demisto.results(demisto.executeCommand("getUsers", {"online":"true"})[0]["HumanReadable"])
Then basically create a text based widget that uses that automation script.
02-21-2023 12:06 PM
This is perfect thank you
02-21-2023 03:15 PM
@MBeauchamp2 , did you run that on main -
i did everything per your screenshot, but my widget is coming up blank
if i run the script in the playground of tenant, the script does return with my user account info
But not seeing it on my "Main" tenant dashboard...just a blank widget
Any thoughts?
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!