Community
Showing results for 
Search instead for 
Do you mean 
Reply

Logged In User List

Accepted Solution Solved
Bronze Elite Contributor
Posts: 2,115
Country: United_Kingdom
Accepted Solution

Logged In User List

Hi Guys,

 

I think I am really missing something here, but I just can not work out how to go abouts getting a list or collection of users that are currently logged into the dB! Does anyone know what I am missing?

 

TIA

 

Vivek 

Vivek Gargav
Caldere Associates Ltd.
www.caldere.com
vgargav@caldere.com
My Blog

Accepted Solutions
Solution
Accepted by topic author vivek
‎09-25-2015 03:20 AM
Bronze Elite Contributor
Posts: 2,115
Country: United_Kingdom

Re: Logged In User List

Hi Tom,

 

Luckily Dev supp read the post I made and kindly replied to me. It looks like I have been a little stupid really and looked hard enough at teh API. There is a method in the ActDatabaseManager class:

 

bool bLoggedOn = false;bLoggedOn = oActFwk.ActDatabase.IsUserLoggedOn(oUser); if ((bLoggedOn)) { MessageBox.Show(oUser.DisplayName + " is logged on."); }

 Hopefully this will help anyone else that comes across this problem in the future!

 

Vivek 

 

 

Vivek Gargav
Caldere Associates Ltd.
www.caldere.com
vgargav@caldere.com
My Blog

View solution in original post


All Replies
Nickel Super Contributor
Posts: 441
Country: UK

Re: Logged In User List

Hi Vivek,

I've had a look and I can't see an obvious way of doing this.  It looks like ACT! keeps a count of how many people are logged in for licensing purposes but not who; hopefully someone will prove me wrong though Smiley Happy

 

Tom

Solution
Accepted by topic author vivek
‎09-25-2015 03:20 AM
Bronze Elite Contributor
Posts: 2,115
Country: United_Kingdom

Re: Logged In User List

Hi Tom,

 

Luckily Dev supp read the post I made and kindly replied to me. It looks like I have been a little stupid really and looked hard enough at teh API. There is a method in the ActDatabaseManager class:

 

bool bLoggedOn = false;bLoggedOn = oActFwk.ActDatabase.IsUserLoggedOn(oUser); if ((bLoggedOn)) { MessageBox.Show(oUser.DisplayName + " is logged on."); }

 Hopefully this will help anyone else that comes across this problem in the future!

 

Vivek 

 

 

Vivek Gargav
Caldere Associates Ltd.
www.caldere.com
vgargav@caldere.com
My Blog