DirectoryObjectSecurity.GetAccessRules(Boolean, Boolean, Type) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
指定したセキュリティ識別子に関連付けられているアクセス規則のコレクションを取得します。
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 オブジェクトに関連付けられているアクセス規則のコレクション。