paulfenwick
Technical User
Hi, Im trying to develop an application (database) for use on a common / shared PC where I need the application to be able to check (authenticate) a user based on their windows username and password without each user loggin on and off every time.
i.e. the PC is logged with either user A or a common resource user account. User B comes along opens the database enters the username and password and the application passes this to an API to check he is a valid user (return a simple yes / no for the username password combination) - if not the database closes.
Is this possible please?
I thiought about / tried using the "logonuser" call in advapi32.dll but didnt manage!
Thanks
i.e. the PC is logged with either user A or a common resource user account. User B comes along opens the database enters the username and password and the application passes this to an API to check he is a valid user (return a simple yes / no for the username password combination) - if not the database closes.
Is this possible please?
I thiought about / tried using the "logonuser" call in advapi32.dll but didnt manage!
Thanks