Hi,
What is added :
- AD_Client.IsLimitConcurrentSessions : to activate the functionnality
- AD_Client.MaxConcurrentSessions : maximum sessions for the current client
- AD_Client.ConcurrentSessionsMsg_ID : message displayed when user can't login
- AD_User, AD_Role, AD_Org : IsDontCountMeInConcurrSessions : allow to set the record to be not taken in consideration for checking limit of concurrent sessions
How does it works ?
After the user is logged, the plugin checks if the maximum number of session is reached (using IEventTopics.AFTER_LOGIN).
If yes, a message is displayed and the user returns to the login page.
I haven't tested for a long time, but it seems to do the job.
Feel free to test it and give feedback.
Thanks
Nicolas