Re: Azman Help



Sorry, you'll need to find a more appropriate newsgroup to ask this
question.

This newsgroup is for questions about security in Access, the database
product that's part of Office Professional.

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)



"Weide Zhang" <WeideZhang@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:8F7C3B76-03BD-428D-937C-711F219CFF25@xxxxxxxxxxxxxxxx
>I have 2 questions,
> first, when i use Azman to create application store in C#, why it always
> says at the first run that "System.UnauthorizedAccessException". However,
> the
> xml storage is correctly created and nothing seems wrong when I open MMC
> to
> see its content. In the second and third run, there are no such exception.
> But I wonder how that can happen? I am using Windows XP Prof.
>
> the code snippet declaring application store looks like as follows:
>
> try
> {
> store = new AzAuthorizationStoreClass();
> store.Initialize(1, @"msxml://c:\xml\library.xml", null);
> store.Submit(0,null);
> }
> catch(COMException e)
> {
> Console.WriteLine("Store already exists");
> }
> catch(Exception e)
> {
> Console.WriteLine(e.Message);
>
> }
>
> store.Initialize(2, @"msxml://c:\xml\library.xml", null);
>
> try
> {
> app2 = store.CreateApplication("library", null);
> app2.Submit(0,null);
> }
> catch(COMException e)
> {
> Console.WriteLine("Application Already Exists");
>
> }
>
>
> Another question is how to define more than 3 level hierarchical roles
> into
> AzMan? Are they all defined into roles or something else? How to represent
> relationships? I know one kind of method is to define task and set
> isroledefinition attribute into true. However, when I use such method
> programmatically I can not see more than 3 level hierarchical
> representation
> in Azman MMC. Any one can share some hint on this? Thanks


.



Relevant Pages

  • Azman Help
    ... first, when i use Azman to create application store in C#, why it always ... xml storage is correctly created and nothing seems wrong when I open MMC to ... the code snippet declaring application store looks like as follows: ... Another question is how to define more than 3 level hierarchical roles into ...
    (microsoft.public.access.security)
  • Azman Help
    ... first, when i use Azman to create application store in C#, why it always ... xml storage is correctly created and nothing seems wrong when I open MMC to ... the code snippet declaring application store looks like as follows: ... Another question is how to define more than 3 level hierarchical roles into ...
    (microsoft.public.platformsdk.security)
  • Re: Messages stuck in local delivery queue
    ... You seemed to have helped out Dave, so I'm wondering if you can help me out. ... store got dismounted and I couldnt remount it (it is only one store - i only ... Microsoft CSS Online Newsgroup Support ...
    (microsoft.public.windows.server.sbs)
  • Re: Blackice behind NATed system
    ... > to disable javascripting, which is a whole different ball game. ... > directory you want it to store stuff in, ... > complete file off that newsgroup, assemble it in its own temp storage, ... Xnews is free from: ...
    (comp.security.firewalls)
  • Re: Blackice behind NATed system
    ... > to disable javascripting, which is a whole different ball game. ... > directory you want it to store stuff in, ... > complete file off that newsgroup, assemble it in its own temp storage, ... Xnews is free from: ...
    (comp.security.firewalls)