R
Ryan Langton
For all of my previous Access .ADP applications, I've used a login screen
that the user uses to authenticate (a table stores usernames/passwords).
Once they've logged in, I store their login information in global variables.
The problem I've found is that sometimes when the programs are left up for
some time, the global variable information is dropped. They'll try to
access some portion of my program and they'll have to go back to the login
screen to re-authenticate.
Since the SQL Server already uses Windows authentication, is there anyway to
use this as their login info for my program as well? So instead of checking
some global variable, whenever they try to access a portion of the program
(a form or something) I can check their permissions based on their windows
authentication?
Thanks,
Ryan
that the user uses to authenticate (a table stores usernames/passwords).
Once they've logged in, I store their login information in global variables.
The problem I've found is that sometimes when the programs are left up for
some time, the global variable information is dropped. They'll try to
access some portion of my program and they'll have to go back to the login
screen to re-authenticate.
Since the SQL Server already uses Windows authentication, is there anyway to
use this as their login info for my program as well? So instead of checking
some global variable, whenever they try to access a portion of the program
(a form or something) I can check their permissions based on their windows
authentication?
Thanks,
Ryan