diff --git a/src/Runtime/ObjectProcessors.cs b/src/Runtime/ObjectProcessors.cs index 136f671..c4f53dc 100644 --- a/src/Runtime/ObjectProcessors.cs +++ b/src/Runtime/ObjectProcessors.cs @@ -492,6 +492,7 @@ await _context.LDAPUtils.GetDomainSidFromDomainName(forest) is (true, var forest if (_methods.HasFlag(CollectionMethod.ACL)) { var aces = await _aclProcessor.ProcessACL(resolvedSearchResult, entry, true) .ToArrayAsync(cancellationToken: _cancellationToken); + ret.Aces = aces; ret.Properties.Add("doesanyacegrantownerrights", aces.Any(ace => ace.IsPermissionForOwnerRightsSid)); ret.Properties.Add("doesanyinheritedacegrantownerrights", aces.Any(ace => ace.IsInheritedPermissionForOwnerRightsSid)); ret.IsACLProtected = _aclProcessor.IsACLProtected(entry);