Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm General / December 2004

Tip: Looking for answers? Try searching our database.

How to Manipulate Uses and Groups (MS Access) in VB.NET

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Roger.Smith - 10 Dec 2004 15:33 GMT
I am looking for samples or documentation that can help me to add new users
and groups a secured MS Access MDB.  I need to be able to create new groups,
then assign table-level permissions to the group.  Then I need to be able to
create new users (with passwords) and add each user to verious groups.  If
anyone knows how to do this or where some documentation is, please let me
know.

Thanks,

Roger
Chris Jobson - 10 Dec 2004 18:44 GMT
I think you need to use ADOX, which isn't directly supported by .NET but can
be used via COM. See
http://www.eggheadcafe.com/forums/ForumPost.asp?ID=15611&INTID=14 for an
example of how to use ADOX from .NET, and
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ado270/htm/adms
cadoxfundamentals.asp

for details of ADOX. (in particular the User and Group objects).

Chris Jobson

>I am looking for samples or documentation that can help me to add new users
>and groups a secured MS Access MDB.  I need to be able to create new
[quoted text clipped - 6 lines]
>
> Roger
Roger.Smith - 10 Dec 2004 20:00 GMT
Thanks Chris.  I searched for hours and only found examples of VB.  (most of
what you referenced only had VB 6.0 examples)  However, I found a sample or
two that was .NET and they said to add ADOX as a reference, and to use the
COM version.  I figure that the COM version is the only version, because I
am unable to locate a .NET version of the class through my development
environment.

Thanks for the assistance....

Roger

>I think you need to use ADOX, which isn't directly supported by .NET but
>can be used via COM. See
[quoted text clipped - 15 lines]
>>
>> Roger

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.