DirectoryObjectSecurity.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 オブジェクトとしてキャストできるオブジェクトである必要があります。

返品

指定した SecurityIdentifier オブジェクトに関連付けられているアクセス規則のコレクション。

適用対象