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?

有帮助吗?

解决方案

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

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top