public RegistryKeyAccessRule(string identity, RegistryKeyRights registryKeyRights, AccessControlType type) : this(new NTAccount(identity), registryKeyRights, type) { }
/// <summary> /// Initializes a new instance of the <see cref="RegistryKeyAuditRule"/> class. /// </summary> /// <param name="identity">The identity.</param> /// <param name="registryKeyRights">The registry key rights.</param> /// <param name="type">The type.</param> public RegistryKeyAuditRule(string identity, RegistryKeyRights registryKeyRights, AuditFlags type) : this(new NTAccount(identity), registryKeyRights, type) { }
public RegistryKeyAccessRule(IdentityReference identity, RegistryKeyRights registryKeyRights, AccessControlType type) : base(identity, (int)registryKeyRights, false, InheritanceFlags.None, PropagationFlags.None, type) { }
/// <summary> /// Initializes a new instance of the <see cref="RegistryKeyAuditRule"/> class. /// </summary> /// <param name="identity">The identity.</param> /// <param name="registryKeyRights">The registry key rights.</param> /// <param name="type">The type.</param> public RegistryKeyAuditRule(IdentityReference identity, RegistryKeyRights registryKeyRights, AuditFlags type) : base(identity, (int)registryKeyRights, false, InheritanceFlags.None, PropagationFlags.None, type) { }