I copied the code below from online and would like to incorporate in my access database security feature
but seems not not work. please help me 5 3018 zmbd 5,501
Recognized Expert Moderator Expert
Emmanuel Ayivi:
Not enough detail to begin to answer question. Please read the FAQ, posting guidlines, and the stickies for the forum...
Normally, I would have deleted the thread; however, you did take the time to show what you're working with and it will take such a little amount of effort on your to have a good question!
At the minimum:
- What errors are you receiving, the EXACT number and text?
- Have you set the Option explicit and compare database?
- Have you compiled the code?
- Which version of access are you attempting to use this code with?
zmbd 5,501
Recognized Expert Moderator Expert
Found the original document. This code will not work with "accdb" (native v2007/2010) databases as the user level security has been deprecated starting with v2007. This is clearly stated in the associated articles to this code that Mr. Pillai has written in support.
This demonstrates the dangers of taking code, or other information, out of context without a clear understanding of the underlying structure/theory.
NeoPa 32,557
Recognized Expert Moderator MVP
This question is asked so poorly I wondered why it wasn't simply deleted. However, what we have now could well prove a very useful resource for those looking for similar help. Good work Z.
zmbd 5,501
Recognized Expert Moderator Expert
Part of the reason this wasn't out right deleted as I've been looking for a workaround myself for the user level security.
If one will run one of the database analysis tools (including the one in database-tools v2010) You can see that there is an owner "admin" and groups etc... assigned - > WITHIN <- an ACCDB file. I had hoped that someone had found a workaround wihtin Access to use these table properties! Reading OP's code, I didn't catch that the database reference had been modififed from the article code - leading me closer to the door with the lion, and I just had to take a peek at the lion. Pretty Kitty.
So, off to find OP's resource
and
a
deep
sigh.
No workaround. Instead an article dealing with mdb files from V2007. ARRRRRGGGGGGhhhhhhhhh -- where's me egg-nogg!
NeoPa 32,557
Recognized Expert Moderator MVP
As I said, it has proved a useful thread anyway (IMHO).
BTW. I'm not sure about that mess down your front Z, but it might explain the missing egg-nogg ;-)
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: Jason |
last post by:
I am trying to write some code to parse file permissions, however I have run into some troubling problems
No matter what language or method used to retrieve the accessmask property, if the value is...
|
by: Chua Wen Ching |
last post by:
Hi there,
I had applied this security permissions in my class library based on fxcop
standards.
Before namespace:
using System.Runtime.InteropServices;
using System.Security.Permissions;
|
by: Mohan |
last post by:
Hi,
I have developed a .NET Windows application. I able to run(Execute) it
from the local drive of my PC. If I try to execute it from the
SourceControl(Clear case) or from Shared drives, then it...
|
by: Paul Riley |
last post by:
Hello there all. Got a slight problem that is really starting to grate
me. Have created a search page that interacts with the index service
on one of our servers and it works wel... too well in...
|
by: Nick Palmer |
last post by:
Hi all,
I've got what I think is a security/permission issue related to using the
OWC 11 components on a Windows 2003 server running IIS 6.0. My web app has
a client side
Excel grid, and it...
| |
by: Brian Takita |
last post by:
Hello,
I'm getting the following error at the end of this message when trying
to run the ReportManager and the ReportServer:
Assembly system.data.dll security permission grant set is...
|
by: Prodip Saha |
last post by:
Sorry about the cross-posting but I need to get attention from the ADO.Net and Web Service Gurus!
I really need to use the System.Data.OleDb.OleDbParameter Class but I am getting following error...
|
by: Johann Pietschnig |
last post by:
Hi,
My Problem: I have a C# EXE which writes a TXT file with results. It works
perfect on my local computer, but when I try to run it from our network
server (Drive G:), I am getting a...
|
by: alex |
last post by:
Hi,
this always works:
private ConsoleToTextbox myConsole;
Console.SetOut(myConsole);
But now (a few weeks later i started this project again)
i get a non handeld security exception
from...
|
by: Gouri.Mahajan7 |
last post by:
Hello,
I am importing "user32.dll" for calling the " Send Message" API in the
user control for getting the line number in the richtext box. I am
hosting this control on the web page. This works...
|
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...
| |
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,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
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,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The...
|
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 ...
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
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...
| |