|
|
|
date: Sun, 30 Mar 2008 23:40:00 -0700,
group: microsoft.public.exchange.development
back
Re: Get exchange public folder permissions
Hi,
Sorry about basic nature of the question, but is the ntSecurityDescriptor
the binary descriptor you are talking about. Else, how must I get the binary
security attribute. Must I decode this ntSecurityDescriptor in base 64 and
then use some Win 32 API to get the security object.
Thanks,
Ramya
"Henning Krause [MVP - Exchange]" wrote:
> Hello,
>
> >
> > 1. Is ntSecurityDescriptor the right way to get the permissions of a
> > public
> > folder in Exchange Server
>
> You can use the binary descriptor - If you are using .NET 2.0 or later I
> would suggest this approach because you can leverage the built-in support
> for ACL in .NET. Otherwise, the XML format is more suited (see the Exchange
> SDK for more info on this).
>
> But you need to order the ACEs correctly - that's very tricky.
>
> I have a .NET implementation of this on my website (with source)
> (www.infinitec.de, look for the InfiniTec.Exchange package).
>
> > 2. If so, how do I interpret this ntSecurityDescriptor. I tried to decode
> > it
> > in base64 but could not get ACL from decoded string as well. I
> > undertstand
> > that i should use IAdsSecurityDescriptor, but I dont really know how to.
>
> The binary security descriptor is prepended with an 8 byte header. It's
> always in the form of 08 00 03 00 00 00 00 00. At least, I haven't seen any
> other values. The first two bytes specify the length of the header. I don't
> know what the rest means.
>
> Kind regards,
> Henning Krause
>
>
date: Mon, 31 Mar 2008 05:10:01 -0700
author: Ramya
|
|