Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
+1
person also asked this
people also asked this
Replies
7 replies
Subscribers
6 subscribers
Views
7403 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Plug-Ins
Get active user session
Vinod Bongoni
Certified Lead Developer
over 8 years ago
How can we find whether a particular user is currently logged in or not?
The login audit will gives us only last login time and AFAIK there are no logout audits.
I haven't find any functions, audits, classes in API to get the user session. Do we have any user session objects at server side? So that I can create a plugin to do this functionality.
OriginalPostID-241456
Discussion posts and replies are publicly visible
0
dominics
over 8 years ago
You can see current logged in users by going to the admin console. Under Monitoring in the side bar select Current User Activity. This will give you a list of all users currently logged into the system.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
kevinb0010
Certified Lead Developer
over 8 years ago
As mentioned in the previous post, this information is available via the Admin console. However, there does not appear to be any public API to get this data. Please see the following tempo post for more information:
forum.appian.com/.../e-210289
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Vinod Bongoni
Certified Lead Developer
over 8 years ago
Thanks dominics,kevinb807. Yes, we can see it from the admin console but am looking to get this info from API or any functions.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
riteshp
over 8 years ago
Few ideas: 1) to check with login-audit.csv every time -> not a good idea if you have distributed system and logs are not centralized 2) Push login data in periodically in DB and check with login time from DB + default session timeout 3) Not recommended, write you own 'session listener' (configure in web.xml) to push login data into db (extracted from SPRING_SECURITY_CONTEXT) everytime when user login or logout.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Mike Cichy
Appian Employee
over 8 years ago
Vinrod, what is the use case? If you had this information, what capability would it enable?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
ambrishs
Certified Lead Developer
over 6 years ago
in reply to
Mike Cichy
Hi Mike,
It's been a while since this question was raised, Do you know any solution as of now to find currently logged in users? We have a need to pull currently logged in users as it is a very time sensitive activity to be completed.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Shiva Valusa
A Score Level 2
over 6 years ago
in reply to
ambrishs
Hi ambrishs695,
AFAIK, Current logged in user feature is not available in Appian. Please refer below plug-ins, might be helpful.
1.
forum.appian.com/.../summary
2.
forum.appian.com/.../summary
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel