DirectorySearcher.SecurityMasks プロパティ

定義

検索によって返される必要がある、指定した属性に対するセキュリティ アクセス情報を示す値を取得または設定します。Gets or sets a value indicating which security access information for the specified attributes should be returned by the search.

public:
 property System::DirectoryServices::SecurityMasks SecurityMasks { System::DirectoryServices::SecurityMasks get(); void set(System::DirectoryServices::SecurityMasks value); };
[System.DirectoryServices.DSDescription("DSSecurityMasks")]
[System.Runtime.InteropServices.ComVisible(false)]
public System.DirectoryServices.SecurityMasks SecurityMasks { get; set; }
member this.SecurityMasks : System.DirectoryServices.SecurityMasks with get, set
Public Property SecurityMasks As SecurityMasks

プロパティ値

SecurityMasks 値のいずれか 1 つ。One of the SecurityMasks values.

属性

using System.DirectoryServices;  
...  
DirectorySearcher src = new DirectorySearcher("…");  
src.PropertiesToLoad = new string[] {ntSecurityDescriptor,…};  
src.SecurityMasks = SecurityMasks.Dacl | SecurityMasks.Owner;  
SearchResultCollection res = src.FindAll();  
  

適用対象

こちらもご覧ください