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

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Roger.Smith (roger.smith_at_discussions.microsoft.com)
Date: 12/10/04


Date: Fri, 10 Dec 2004 14:00:22 -0600

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

"Chris Jobson" <chris.jobson@btinternet.com> wrote in message
news:OEvX2gu3EHA.4092@TK2MSFTNGP14.phx.gbl...
>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/admscadoxfundamentals.asp
>for details of ADOX. (in particular the User and Group objects).
>
> Chris Jobson
>
> "Roger.Smith" <roger.smith@discussions.microsoft.com> wrote in message
> news:O9Vmf2s3EHA.3416@TK2MSFTNGP09.phx.gbl...
>>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
>>
>
>



Relevant Pages

  • Followup on TECH: Gottlieb System 1 - Genie Coin Door issues
    ... here is a little "Problem Resolution Report" for Chris ... Hopefully this will be one to add to your already vast reference ... I worked on his game last night... ... Verify continuity at midpoint cabinet connector, ...
    (rec.games.pinball)
  • Re: is there any principle when writing python function
    ... What you have, I think, is a module named Cerutti, in which you have a ... you are referred to as Neil; and outside ... Cerutti.Neil is the cleanest way to reference you. ... Chris Angelico ...
    (comp.lang.python)
  • Re: defined type
    ... You need to add a reference to ADOX. ... In my first function in Access97, ... "Dim cat As New ADOX.Catalog" ...
    (microsoft.public.access.dataaccess.pages)
  • Re: call by reference
    ... The point is that assigning to the formal parameter does not ... > even matter if the parameter passing is by reference or by value. ... > parameter just happens to identify some shared state, ... > Chris Smith - Lead Software Developer/Technical Trainer ...
    (comp.lang.java.programmer)
  • Re: 2 Files open - Paste to One
    ... That is the point Chris. ... set a reference to it and use that ... Dim sName as String ... This code errors on the set bk line. ...
    (microsoft.public.excel.programming)