AccessRule 생성자

정의

지정된 값을 사용하여 클래스의 AccessRule 새 인스턴스를 초기화합니다.

protected:
 AccessRule(System::Security::Principal::IdentityReference ^ identity, int accessMask, bool isInherited, System::Security::AccessControl::InheritanceFlags inheritanceFlags, System::Security::AccessControl::PropagationFlags propagationFlags, System::Security::AccessControl::AccessControlType type);
protected AccessRule(System.Security.Principal.IdentityReference identity, int accessMask, bool isInherited, System.Security.AccessControl.InheritanceFlags inheritanceFlags, System.Security.AccessControl.PropagationFlags propagationFlags, System.Security.AccessControl.AccessControlType type);
new System.Security.AccessControl.AccessRule : System.Security.Principal.IdentityReference * int * bool * System.Security.AccessControl.InheritanceFlags * System.Security.AccessControl.PropagationFlags * System.Security.AccessControl.AccessControlType -> System.Security.AccessControl.AccessRule
Protected Sub New (identity As IdentityReference, accessMask As Integer, isInherited As Boolean, inheritanceFlags As InheritanceFlags, propagationFlags As PropagationFlags, type As AccessControlType)

매개 변수

identity
IdentityReference

액세스 규칙이 적용되는 ID입니다. 이 매개 변수는 으로 SecurityIdentifier캐스팅할 수 있는 개체여야 합니다.

accessMask
Int32

이 규칙의 액세스 마스크입니다. 액세스 마스크는 익명 비트의 32비트 컬렉션이며, 그 의미는 개별 통합자가 정의합니다.

isInherited
Boolean

true 이 규칙이 부모 컨테이너에서 상속되면 입니다.

inheritanceFlags
InheritanceFlags

액세스 규칙의 상속 속성입니다.

propagationFlags
PropagationFlags

상속된 액세스 규칙이 자동으로 전파되는지 여부입니다. 전파 플래그는 .로 설정된 inheritanceFlags경우 None 무시됩니다.

type
AccessControlType

유효한 액세스 제어 유형입니다.

예외

매개 변수의 identity 값을 캐스팅 SecurityIdentifier할 수 없거나 매개 변수에 type 잘못된 값이 포함되어 있습니다.

매개 변수 값이 accessMask 0이거나 또는 매개 변수에 inheritanceFlagspropagationFlags 인식할 수 없는 플래그 값이 포함되어 있습니다.

상속자 참고

통합자는 이 메서드를 사용하면 안 됩니다. 통합자는 상속된 규칙을 만들면 안 됩니다.

적용 대상