If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
how do I restrict the information to the current network user
I am trying to link the database to the net work, I need to use the benefit
of using the user name as filter to restrict the information accessed by the database user. in this case I will not have to creat a form asking the user to logon or even I don't have to activate the database security. basecally how can I retrive the network username and use it in the access database? Please help |
#2
|
|||
|
|||
Ahmed,
The "quick & dirty" way is to use function Environ("Username"). The "poper" way is to use an API call, look at: http://www.mvps.org/access/api/api0008.htm The former is considered less secure in that environment variables are subject to change by the user; in reality, though, I haven't come across a user who new how to do it, so to me it's not a real issue. The choice is yours. HTH, Nikos Ahmed wrote: I am trying to link the database to the net work, I need to use the benefit of using the user name as filter to restrict the information accessed by the database user. in this case I will not have to creat a form asking the user to logon or even I don't have to activate the database security. basecally how can I retrive the network username and use it in the access database? Please help |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Don't respond to phony e-mail sent to MSN customers requesting personal information!!!!!!!!!!! | [email protected] | General Discussion | 0 | March 18th, 2005 09:52 PM |
Get Latest Entry with Query | James Stephens | Running & Setting Up Queries | 3 | February 25th, 2005 06:59 PM |
Using Current date information | MTRacer | Running & Setting Up Queries | 2 | September 22nd, 2004 08:29 PM |
You do not have exclusive access... ERROR | Robin | General Discussion | 1 | July 6th, 2004 01:18 AM |
Publisher 2003 hotfix package Update (KB 838901) | Brian Kvalheim - [MSFT MVP] | Publisher | 0 | May 7th, 2004 08:38 PM |