/// <summary> /// Initializes a new instance of the <see cref="PrinterAuditRule"/> class. /// </summary> /// <param name="identity">The identity.</param> /// <param name="serviceRights">The service rights.</param> /// <param name="type">The type.</param> public PrinterAuditRule(string identity, PrinterRights serviceRights, AuditFlags type) : this(new NTAccount(identity), serviceRights, type) { }
public PrinterAccessRule(string identity, PrinterRights serviceRights, AccessControlType type) : this(new NTAccount(identity), serviceRights, type) { }
/// <summary> /// Initializes a new instance of the <see cref="PrinterAuditRule"/> class. /// </summary> /// <param name="identity">The identity.</param> /// <param name="serviceRights">The service rights.</param> /// <param name="type">The type.</param> public PrinterAuditRule(IdentityReference identity, PrinterRights serviceRights, AuditFlags type) : base(identity, (int)serviceRights, false, InheritanceFlags.None, PropagationFlags.None, type) { }
public PrinterAccessRule(IdentityReference identity, PrinterRights serviceRights, AccessControlType type) : base(identity, (int)serviceRights, false, InheritanceFlags.None, PropagationFlags.None, type) { }