To Limit Users to One Session
In MYOB Acumatica, you can specify whether the instance prevents users from signing in more than
once under the same user name. By default, this option is turned off, and system
users can create user sessions (under the same user name and with different user
names) until the concurrent user limit is reached. For more information, see License Restrictions for the Number of MYOB Acumatica Users.
Important: When you save changes to the
web.config file, the website is automatically restarted. Make
sure that all users are warned about the restart so that they can save their documents
in advance.
To Limit Users to Only One Sign-In Per User
- Open the web.config file for the site instance. Usually it is located in %Program Files%\Acumatica ERP\<instance name>, where <instance name> is the name of the application instance website.
- In the file, find the providers section in
membership, which has the following settings (they
depend on your website
settings).
<membership defaultProvider="PXActiveDirectorySyncMembershipProvider"> <providers> <remove name="PXActiveDirectorySyncMembershipProvider"/> <remove name="MySQLMembershipProvider" /> <add name="PXActiveDirectorySyncMembershipProvider" type="PX.Data.PXActiveDirectorySyncMembershipProvider, PX.Data" mainProviderType="PX.Data.PXDatabaseMembershipProvider" . . . /> </providers> </membership>
- Add the <concurrentUserMode> parameter to the line and specify the
true
value.
<membership defaultProvider="PXActiveDirectorySyncMembershipProvider"> <providers> <remove name="PXActiveDirectorySyncMembershipProvider"/> <remove name="MySQLMembershipProvider" /> <add name="PXActiveDirectorySyncMembershipProvider" type="PX.Data.PXActiveDirectorySyncMembershipProvider, PX.Data" mainProviderType="PX.Data.PXDatabaseMembershipProvider" . . . concurrentUserMode="true"/> </providers> </membership>
- Save the web.config file, which causes the website to automatically restart.