CommonObjectSecurity.GetAccessRules(Boolean, Boolean, Type) 메서드

정의

지정된 보안 식별자와 관련된 액세스 규칙 컬렉션을 가져옵니다.

public:
 System::Security::AccessControl::AuthorizationRuleCollection ^ GetAccessRules(bool includeExplicit, bool includeInherited, Type ^ targetType);
public System.Security.AccessControl.AuthorizationRuleCollection GetAccessRules (bool includeExplicit, bool includeInherited, Type targetType);
member this.GetAccessRules : bool * bool * Type -> System.Security.AccessControl.AuthorizationRuleCollection
Public Function GetAccessRules (includeExplicit As Boolean, includeInherited As Boolean, targetType As Type) As AuthorizationRuleCollection

매개 변수

includeExplicit
Boolean

개체에 대해 명시적으로 설정된 액세스 규칙을 포함시키려면 true입니다.

includeInherited
Boolean

상속된 액세스 규칙을 포함시키려면 true입니다.

targetType
Type

액세스 규칙을 검색할 보안 식별자가 SecurityIdentifier 형식인지 아니면 NTAccount 형식인지 지정합니다. 이 매개 변수의 값은 SecurityIdentifier 형식으로 변환 가능한 형식이어야 합니다.

반환

AuthorizationRuleCollection

지정된 SecurityIdentifier 개체와 관련된 액세스 규칙 컬렉션입니다.

적용 대상