DirectorySearcher.SecurityMasks Property
.NET Framework (current version)
Gets or sets a value indicating which security access information for the specified attributes should be returned by the search.
Assembly: System.DirectoryServices (in System.DirectoryServices.dll)
[DSDescriptionAttribute("DSSecurityMasks")] [ComVisibleAttribute(false)] public SecurityMasks SecurityMasks { get; set; }
using System.DirectoryServices; ... DirectorySearcher src = new DirectorySearcher("…"); src.PropertiesToLoad = new string[] {ntSecurityDescriptor,…}; src.SecurityMasks = SecurityMasks.Dacl | SecurityMasks.Owner; SearchResultCollection res = src.FindAll();
.NET Framework
Available since 2.0
Available since 2.0
Show: