System.Security.AccessControl.CommonObjectSecurity.GetAuditRules Method

Gets a collection of the audit rules associated with the specified security identifier.

Syntax

public AuthorizationRuleCollection GetAuditRules (bool includeExplicit, bool includeInherited, Type targetType)

Parameters

includeExplicit
true to include audit rules explicitly set for the object.
includeInherited
true to include inherited audit rules.
targetType
The security identifier for which to retrieve audit rules. This must be an object that can be cast as a System.Security.Principal.SecurityIdentifier object.

Returns

The collection of audit rules associated with the specified System.Security.Principal.SecurityIdentifier object.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System.Security.AccessControl
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0