SecurityDescriptorCommandsBase.GetAudit(PSObject) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.