|
J
|
Jane 5/22/2007 |
|
Hi, |
|
|
T
|
tgunther author 5/22/2007 |
Hi, to show records for logged user only use User can see and edit their own records only option on the Advanced security settings dialog on the Security tab.
gstrSQL = "select [EmployeeNumber], [FirstName], [MiddleInitial], [LastName], [ADUsername], [UID] From [dbo].[EmployeeTable] WHERE ADUsername = Request.ServerVariables(LOGON_USER)"Where ASUsername has already been populated with there AD username. |
|
|
T
|
tgunther author 5/24/2007 |
|
I was able to get this to work by modifying my select statement to say: gstrSQL = "select [EmployeeNumber], [FirstName], [MiddleInitial], [LastName], [ADUsername], [UID], [Password] From [dbo].[EmployeeTable] where [ADUsername] = '" & Request.ServerVariables("LOGON_USER") & "'"
|
|