Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

.net existing sessions

Status
Not open for further replies.

johnny9864

Programmer
Sep 27, 2013
35
CA
I used many times in the past the login process in .Net libraries but I need in a new project to know where the user is logged in. Is there a way to figure out what is the current logged in session(s) or at least to what company it is logged in ?

I found some mention of an object called SessionMgr but I don't see it anywhere looking through ACCPAC.Advantage, ACCPAC.Advantage.Types or ACCPAC.Advantage.Server.
 
I don't think there is. One option is to use API calls to look for the main Sage window and read the caption. From there you can look through the organizations to determine what they are logged into. However, if you have an application that logs on to Sage then you won't see that using the method I just described.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top