In MS Access I would like to use the NT login ID in a parameter I am sending to SQL Server via ODBC Direct to execute a stored procedure. I know I can ask the user to enter it again but if I can use the authenticated user ID from NT, security obviously goes up several notches.
My goal is be able to check for it when a submit button is clicked on the form, which then asks for the stored procedure to execute and return a record set to Access. The ODBC thing is working now I need the NT ID to go with it as a parameter.
I belive I am going to have to call a win api to get this done which will all be new to me, so any and all help as to how this would be done would be greatly appreciated.
Thanks