CommonObjectSecurity.GetAuditRules(Boolean, Boolean, Type) Método

Definición

Obtiene una colección de las reglas de auditoría asociadas al identificador de seguridad especificado.

public:
 System::Security::AccessControl::AuthorizationRuleCollection ^ GetAuditRules(bool includeExplicit, bool includeInherited, Type ^ targetType);
public System.Security.AccessControl.AuthorizationRuleCollection GetAuditRules (bool includeExplicit, bool includeInherited, Type targetType);
member this.GetAuditRules : bool * bool * Type -> System.Security.AccessControl.AuthorizationRuleCollection
Public Function GetAuditRules (includeExplicit As Boolean, includeInherited As Boolean, targetType As Type) As AuthorizationRuleCollection

Parámetros

includeExplicit
Boolean

Es true para incluir explícitamente reglas de auditoría establecidas para el objeto.

includeInherited
Boolean

Es true para incluir las reglas de auditoría heredadas.

targetType
Type

El identificador de seguridad para el que se van a recuperar las reglas de auditoría. Este debe ser un objeto que permita su conversión al tipo SecurityIdentifier.

Devoluciones

AuthorizationRuleCollection

La colección de reglas de auditoría asociadas al objeto SecurityIdentifier especificado.

Se aplica a