다음을 통해 공유


DirectorySearcher.SecurityMasks 속성

정의

검색을 수행하여 반환할 지정된 특성의 보안 액세스 정보를 나타내는 값을 가져오거나 설정합니다.

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

속성 값

SecurityMasks 값 중 하나입니다.

특성

예제

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

적용 대상

추가 정보