08-07-2009 02:25 AM
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
08-10-2009 03:25 AM
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
08-07-2009 02:34 AM
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
Tom
08-10-2009 03:25 AM
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