I am using Ax 2009 where i have
user license = 9
business connector proxy license = 9
Application object server = 1
So total user license = 18
The below line giving me only total user license
int maxSessions = Info::licensedUsersTotal();
To test how many sessions are possible i opened many ax but at count 15 it blocked me saying "You reached maximum license…how come ?
So i need to find out through code
Currently what are the active sessions are opened and per user how many sessions can be opened ?