Hi All,
Please I am designing a multiuser database and I need a means of automatically getting the name of the logged in user. I know I can use the currentuser method if I was using a workgroup security file but I'm using an Access Project connected to a SQL server database using windows authentication. Whenever I use the currentuser method, I get a returned value of "Admin". This is becuase the currentuser method only works with access workgroup files. Is there a way to get the current user from an access project using the security context of SQL Server or windows authentication?
Thanks,
Nanfa
Please I am designing a multiuser database and I need a means of automatically getting the name of the logged in user. I know I can use the currentuser method if I was using a workgroup security file but I'm using an Access Project connected to a SQL server database using windows authentication. Whenever I use the currentuser method, I get a returned value of "Admin". This is becuase the currentuser method only works with access workgroup files. Is there a way to get the current user from an access project using the security context of SQL Server or windows authentication?
Thanks,
Nanfa