is there a way to get all the logged-in users programmatically ?
Discussion posts and replies are publicly visible
https://community.appian.com/b/appmarket/posts/log-readerThis may be useful!