DirectoryObjectSecurity.GetAccessRules(Boolean, Boolean, Type) Metoda

Definice

Získá kolekci pravidel přístupu přidružených k zadanému identifikátoru zabezpečení.

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

Parametry

includeExplicit
Boolean

true pro zahrnutí pravidel přístupu explicitně nastavených pro objekt.

includeInherited
Boolean

true a zahrnout zděděná pravidla přístupu.

targetType
Type

Identifikátor zabezpečení, pro který chcete načíst pravidla přístupu. Musí se jednat o objekt, který lze přetypovat jako SecurityIdentifier objekt.

Návraty

Kolekce pravidel přístupu přidružených k zadanému SecurityIdentifier objektu.

Platí pro