Assembly: mscorlib (in mscorlib.dll)
public AuthorizationRuleCollection GetAuditRules ( bool includeExplicit, bool includeInherited, Type targetType )
public AuthorizationRuleCollection GetAuditRules ( boolean includeExplicit, boolean includeInherited, Type targetType )
public function GetAuditRules ( includeExplicit : boolean, includeInherited : boolean, targetType : Type ) : AuthorizationRuleCollection
true to include audit rules explicitly set for the object.
true to include inherited audit rules.
The security identifier for which to retrieve audit rules. This must be an object that can be cast as a SecurityIdentifier object.
Return ValueThe collection of audit rules associated with the specified SecurityIdentifier object.
Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.