Login Controls provides the ability to:
- Prevent the user from changing the Server (Datasource) during log-in
- Default the Company that the user logs in to (user specific)
The Lock Datasource feature will prevent the user from changing the Server (Datasource) during log-in.
Dynamics GP normally stores the last used datasource, and will default to that datasource (server) for the next log-in. The Lock Datasource feature, when enabled, makes the Server field un-editable so the user must use the Datasource (Server) that is recorded in the dex.ini file.
Navigation: Tools >> Setup >> Company >> Setup GP PowerPack
Click the Go To button and select Login Controls. Locate the SYS:Login Controls section of the Tweaks Setup window.
Lock Datasource (Server): mark this to lock the datasource (i.e. Server Name/ODBC) option in the login window. This setting needs to be stored in the dex.ini file because it is activated before there is a connection to the server—the datasource needs to be locked as soon as the GP client is launched. It takes a couple of steps before this setting will become active for all users:
- Activate the setting and Save it.
- When a user logs-in, GP PowerPack will check if LockDatasource is enabled, and if so, add this switch to the GP client dex.ini file: LockDatasource=TRUE
- The next time the user logs-in, the Datasource will be locked
Default Company Options
When there is more than one company database, the Company drop-down list on the log-in window will be blank, and you will have to select which company they want to log-in to. When there is only one company, the system will default the drop-down selection to show that one company.
The Default Company options provide two methods of forcing a default company to always be presented.
The Default Last Used Company option will (1) store the last company the user logged in to and then make that the default the next time they log in, or (2) allow the administrator to pick which company is the default and have that always be presented as the default.
Regardless of the option you pick, the system will only present the Default Company if the user has access to log-in to that company. If the Default Company is not one the user has access to, when they reach the log-in screen the Company field will be blank and they will need to select a Company.
Default Last Company is different than the “Remember Company” option on the login window. “Remember Company” defaults the selected Company AND automatically selects it, which bypasses the option to choose a different company. Default Last Company sets the drop-down list to the default company, but a different company can still be chosen if desired.