2013-05-17 35 views
0

我遇到以下設置,並試圖找出的18周來的AceFlag值,上下文是什麼如下:VB腳本 - 郵箱權限取景

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 

任何人有什麼想法?

回答

1

這意味着ACE是一個繼承的容器ACE(0x10 + 0x02)。見here

+0

謝謝Ansgar Wiechers! –