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 オブジェクトに関連付けられたアクセス規則のコレクション。

適用対象