473,473 Members | 1,705 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

acccess rights

rcollins
234 New Member
I am in process of changing around my database frontends. I am curious if there is a way to make items not visible to users if they dont have rights. For example, if I was to have a switchboard for the main menu with items like accounting, behavior, nursing, etc, can I make it to where the accounting people only see the accounting info, but at the same time, someone in behavior may have access to nursing, but not need to see accounting. Is this possible?
Mar 19 '08 #1
2 1180
PianoMan64
374 Recognized Expert Contributor
Very much so. You have to use a well documented feature in MS Access that is called User Groups.

What you have to do is to create users into groups. Then once that has been created, you use the CurrentUser() function to see who is currently logged In and then you have a table maybe called UserConfig that will has sets of permissions for example:

Table Schema would be like:
Expand|Select|Wrap|Line Numbers
  1. ID     UserName     FirstName  LastName     DeptCode
  2. 1      UserID1      Fred       Flinstone    Accounting
  3. 2      UserID2      Wilma      Flinstone    Nursing
  4. 3      UserID3      Barney     Rubble       Behavior
  5.  
You would simply pull the value from the table that would see what department they're in and display information accordingly.

If you would like more detail and code examples, let me know and I can provide you with some.

Hope that helps,

Joe P.
Mar 20 '08 #2
rcollins
234 New Member
This sounds like I have to set up all of the users in the access database? I was hoping that I could use authenticationfrom active directory, we have a bit of turnover here and I would have to change a list like this often, when it is already updated in AD. Is this possible?
May 13 '08 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: PeterFI | last post by:
Hello, my problem is as follows, I have a web page where user can upload pictures to unix server from his own computer. Pictures are uploaded fine, but the rights of those files are not...
1
by: Chris_M | last post by:
I have a basic question regarding rights. What level of rights do I have to have to grant another user update rights? I don't want to give everyone owner rights. Can a person with update rights...
3
by: jean-dot-paul-at-opelwilly-dot-com | last post by:
Hello all, I have two different applications where my application wants to do something the logged user has not the rights to: 1) Change a HKEY_LOCAL_MACHINE key value. The user has only...
0
by: Steve | last post by:
Greetings, I'm having problems with the use of an Access 2003 Add-In on Windows XP Pro. Administrative-level users have no problems running the Add-In, but those users with restricted rights on...
3
by: LW | last post by:
"Consider the U.S. government's recognition and protection of intellectual property in the computer industry. Inventors of computer hardware were able to patent their inventions, and the government...
10
by: KarlM | last post by:
Hallo! Due to the help in this Newgroups I am now able to set basic rights to a Computer account in active directory. The following c#-Code works fine...
1
by: Thomas Strauss, SRS | last post by:
Hi, I have a really hard time to find the access rights required for monitoring a printing queue or share in windows XP or Win2000/2003 server. We have an application that will remote control...
2
by: Jassim Rahma | last post by:
I have an application in C# and I want to assign rights based on the user login. I have users table in the database and I wnat to know what is the best way to manage the user rights?
3
by: Koliber (js) | last post by:
sorry for my bad english when I fire up (from my c# code) a standard "file - save as " dialog, and when chosen location is a shered local network directory, where I do have rights to create...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.