DirectoryObjectSecurity.GetAccessRules(Boolean, Boolean, Type) Metoda

Definice

Získá kolekci přístupových pravidel 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 zahrnout pravidla přístupu explicitně nastavena pro objekt.

includeInherited
Boolean

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

targetType
Type

Identifikátor zabezpečení, pro který se mají načítat 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