|
Group: StrataFrame Developers
Posts: 3K,
Visits: 2.5K
|
You would need to create a database table of the users currently logged into the workstations. Then, you can manually use Login.AuthenticateUser() to determine whether the user can log into the system. Once you do that, you will need to test that table to make sure no user with that name is already logged in. Then, when the user logs out, remove the record from the tracking table. You will also most likely want to setup a timer on the main form to periodically (say every 15s to 1 minute) go and set the last "keep-alive" time on the record, so that in case the application dies or the workstation locks up, the user record in the tracking table will be "stale" and can be removed if the user tries to log into another workstation.
|