Share via


SecurityDescriptorCommandsBase.GetAudit(PSObject) Method

Definition

Gets the audit rules of the provided PSObject.

public:
 static System::Security::AccessControl::AuthorizationRuleCollection ^ GetAudit(System::Management::Automation::PSObject ^ instance);
public static System.Security.AccessControl.AuthorizationRuleCollection GetAudit (System.Management.Automation.PSObject instance);
static member GetAudit : System.Management.Automation.PSObject -> System.Security.AccessControl.AuthorizationRuleCollection
Public Shared Function GetAudit (instance As PSObject) As AuthorizationRuleCollection

Parameters

instance
PSObject

The PSObject for which to obtain the audit rules.

Returns

The audit rules of the provided PSObject.

Applies to