PC Review


Reply
Thread Tools Rate Thread

how to check login

 
 
E. Kwong
Guest
Posts: n/a
 
      24th Jan 2009
Using the script at
http://www.mvps.org/access/api/api0008.htm

, I'm able to get the user network login.. Now I would like to check this
network login against a sql table. If there's a match, the user is allowed
in, if not a popup mesage box would inform the user to contact me.

I would like to do all these "behind the scene" without asking the network
user to login again (i.e. programming a startup login form). What's the
best way to go about this? Any pointer appreciated. Am using Access 2003
/ Sql Server 2000


 
Reply With Quote
 
 
 
 
Norman Yuan
Guest
Posts: n/a
 
      24th Jan 2009
It is obvious that if you want to authenticate the user against a user
log-in record in a table, you have to create table in the said database and
provide a way for user/administrator to create user log-in information
before you can use it for logging in authentication.

You did not describe your situation in detail as to how your application
works and in what kind of environment. However, since you say "using
Access2003 and can get user's network login, I assume it is a LAN
environment. Now the question is why you want to re-invent the wheel when
you can easily control user's access to the SQL Server/database by using SQL
Server's built-in security features? Since your user uses a desktop app (MS
Access2003) he/she must log into the LAN/computer, you can use SQL Server's
Windows integrated security mode to control access to SQL Server/Database,
there is not need to ask user to log in again as long as the user logs into
the LAN computer.

"E. Kwong" <ekwong999AThotmail.com> wrote in message
news:(E-Mail Removed)...
> Using the script at
> http://www.mvps.org/access/api/api0008.htm
>
> , I'm able to get the user network login.. Now I would like to check this
> network login against a sql table. If there's a match, the user is
> allowed in, if not a popup mesage box would inform the user to contact me.
>
> I would like to do all these "behind the scene" without asking the network
> user to login again (i.e. programming a startup login form). What's the
> best way to go about this? Any pointer appreciated. Am using Access
> 2003 / Sql Server 2000
>


 
Reply With Quote
 
Guest
Posts: n/a
 
      3rd Apr 2009
Thank-you.

Apr 3 2009.
"E. Kwong" <ekwong999AThotmail.com> wrote in message
news:(E-Mail Removed)...
> Using the script at
> http://www.mvps.org/access/api/api0008.htm
>
> , I'm able to get the user network login.. Now I would like to check this
> network login against a sql table. If there's a match, the user is
> allowed in, if not a popup mesage box would inform the user to contact me.
>
> I would like to do all these "behind the scene" without asking the network
> user to login again (i.e. programming a startup login form). What's the
> best way to go about this? Any pointer appreciated. Am using Access
> 2003 / Sql Server 2000
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
check login dates gator Windows XP General 1 9th Jun 2009 03:56 AM
Check login status ascll Microsoft ASP .NET 2 16th Apr 2008 05:28 PM
Best way to check for first Login JJ Microsoft ASP .NET 1 22nd Sep 2006 06:08 PM
'check name' box appears after login Evan Microsoft Outlook Discussion 5 11th May 2005 05:04 AM
What check who in login in domain? szymon smiech Microsoft Windows 2000 Active Directory 1 25th Sep 2003 02:30 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:35 AM.