Assembly: mscorlib (in mscorlib.dll)
public AuthorizationRuleCollection GetAccessRules ( bool includeExplicit, bool includeInherited, Type targetType )
public AuthorizationRuleCollection GetAccessRules ( boolean includeExplicit, boolean includeInherited, Type targetType )
public function GetAccessRules ( includeExplicit : boolean, includeInherited : boolean, targetType : Type ) : AuthorizationRuleCollection
true to include access rules explicitly set for the object.
true to include inherited access rules.
The security identifier for which to retrieve access rules. This must be an object that can be cast as a SecurityIdentifier object.
Return ValueThe collection of access 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.