On Sep 6, 2019, at 10:45, Tim Nevels via 4D_Tech <[email protected]> wrote: > > In the 4D Client “On Startup” method you call the “Current client > authentication” command and it returns the “Windows login” value for the > currently logged in user. You can do this on the 4D Client machine, you don’t > have to execute on server. (The documentation makes it seem much more > complicated than it really needs to be.) The command will provide whatever > Windows login was used to log in on the machine. So for me it might be > “timnevels”. > > I query the [Users] table for a record with “timnevels” set as the Windows > Login and if found I am allowed to connect to the database. If “timnevels" is > not found in the [Users] table I you just QUIT 4D and 4D Client is prevented > access to the database. It’s really that simple.
Can you also get access privileges from AD? If so, how are they synced to 4D Users & Groups? Or maybe they aren’t? If they aren’t, what do you do to manage access within the app? Tom Benedict ********************************************************************** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:[email protected] **********************************************************************

