https://learn.microsoft.com/es-es/dotnet/api/system.security.accesscontrol.objectsecurity.purgeauditrules?view=netframework-4.8.1&viewFallbackFrom=net-7.0
ObjectSecurity.PurgeAuditRules(IdentityReference) Method (System.Security.AccessControl) |...
Removes all audit rules associated with the specified IdentityReference.
system securitymethodaccesscontrol
https://learn.microsoft.com/zh-tw/dotnet/api/system.security.accesscontrol.objectsecurity.setgroup?view=netframework-4.8.1&viewFallbackFrom=net-10.0
ObjectSecurity.SetGroup(IdentityReference) Method (System.Security.AccessControl) | Microsoft Learn
Sets the primary group for the security descriptor associated with this ObjectSecurity object.
system securitymethodaccesscontrolmicrosoftlearn