Hello,
if you are using .NET and have time till next week... I hope I have put some
code together over the weekend. I will post that on my website as part of
the InfiniTec.Exchange package.
If you do want to this yourself: I vaguely remember the kb you mentioned...
basically, you can use the AccessControlEntry and AccessControlList COM
objects to read the security descriptor from an Exchange item.... There
should be something in the SDK covering this.
Another option is to use WebDAV: Do a PROPFIND on the folder and retrieve
the http://schemas.microsoft.com/exchange/security/descriptor property. This
property contains the entire ACL in XML format. You can parse it from there.
However, the descriptor is an NT Security descriptor, so you must rebuild
the MAPI view from that. See
http://www.microsoft.com/downloads/details.aspx?FamilyID=2ae266f0-16b7-40d7-94d9
-c8be0e968a57&DisplayLang=en
for more information on that...
Best regards,
Henning Krause
------------------------
Try my new WebDAV component for Exchange. It's free!
http://www.infinitec.de/software/nettoolbox/infinitec.exchange.aspx
> Hello,
>
[quoted text clipped - 37 lines]
>> >
>> > Any help would be greatly appreciated.
Sean - 20 Jul 2006 19:37 GMT
I've just now gotten back to this issue. I managed to work around the form
based authentication that is setup on our OWA server. I've gotten to the
ntsecuritydescriptor property, but I'm not entirely sure what to do with it
now. I'm not really a windows programmer, and my first gut reaction would be
to un-base64 it to look at it. However I'm not familiar enough with C# to
get that done quickly :)
The document that you linked to is a nice description of how security works,
but I did not find anything in it on how to convert this base64 string into
something useful, like an ACL object mapping or something along those lines.
What do you do with the ntsecuritydescriptor once you have it? Is there a
.dll that I can use to map the string into an ACL object of some sort to
traverse? Or is there another way to read the string?
-Sean
> Hello,
>
[quoted text clipped - 62 lines]
> >> >
> >> > Any help would be greatly appreciated.