API Reference
Class
AuditPolicyResolver
Maps audit policy internal keys to friendly display names for basic and advanced modes.
Inheritance
- Object
- AuditPolicyResolver
Methods
public static String FriendlyName(AuditPolicyType type, String name) #Returns:
StringReturns a friendly display name for the specified audit policy key.
Parameters
- type ADPlayground.Gpo.AuditPolicyType
- Audit policy mode (basic or advanced).
- name System.String
- Internal policy key.
Returns
User-friendly display name when known; otherwise the original key.
public static Boolean TryKeyFromFriendlyName(AuditPolicyType type, String displayName, out String key) #Returns:
BooleanAttempts to resolve an internal key from a friendly display name (advanced mode).
Parameters
- type ADPlayground.Gpo.AuditPolicyType
- displayName System.String
- key System.String@