VB Script - Mailbox permissions finder

442 Views Asked by At

I've come across the following setting and trying to figure out what an AceFlag value of 18 means, context is below:

dn = "LDAP://" & replace(rs.Fields("distinguishedName").Value,"/","\/")
    set objuser = getobject(dn)
Set oSecurityDescriptor = objuser.Get("msExchMailboxSecurityDescriptor")
Set dacl = oSecurityDescriptor.DiscretionaryAcl
Set ace = CreateObject("AccessControlEntry")

For Each ace In dacl
if ace.AceFlags <> 18 then
end if

Anyone got any ideas?

1

There are 1 best solutions below

0
Ansgar Wiechers On BEST ANSWER

It means that the ACE an inherited container ACE (0x10 + 0x02). See here.