AceFlags

  • Thread starter Thread starter elazar
  • Start date Start date
E

elazar

I am currently programming with MS's ADSI SDK. I am using
the ADSSecurity API to list permissions on a folder or
file. However, I keep getting Ace.AceFlags returning 3 or
11, which is not part of the ADS_ACEFLAG enumeration. If
anyone can help me with this, it would be much appreciated.
 
elazar said:
I am currently programming with MS's ADSI SDK. I am using
the ADSSecurity API to list permissions on a folder or
file. However, I keep getting Ace.AceFlags returning 3 or
11, which is not part of the ADS_ACEFLAG enumeration. If
anyone can help me with this, it would be much appreciated.

Ace.AceFlags is the logical OR of the various ADS_ACEFLAGs.

To test you have to AND Ace.AceFlags with the particular constant,
i.e: if Ace.AceFlags and ADS_INHERIT_ONLY_ACE <> 0 then ....

Bit 0 is missing from ADS_ACEFLAGS_ENUM but I think it is OBJECT_INHERIT_ACE


Walter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top