コード例 #1
0
 /// <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)
 {
 }
コード例 #2
0
 public PrinterAccessRule(string identity, PrinterRights serviceRights, AccessControlType type)
     : this(new NTAccount(identity), serviceRights, type)
 {
 }
コード例 #3
0
 /// <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)
 {
 }
コード例 #4
0
 public PrinterAccessRule(IdentityReference identity, PrinterRights serviceRights, AccessControlType type)
     : base(identity, (int)serviceRights, false, InheritanceFlags.None, PropagationFlags.None, type)
 {
 }
コード例 #5
0
 /// <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)
 {
 }
コード例 #6
0
 /// <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)
 {
 }
コード例 #7
0
 public PrinterAccessRule(IdentityReference identity, PrinterRights serviceRights, AccessControlType type)
     : base(identity, (int)serviceRights, false, InheritanceFlags.None, PropagationFlags.None, type)
 {
 }
コード例 #8
0
 public PrinterAccessRule(string identity, PrinterRights serviceRights, AccessControlType type)
     : this(new NTAccount(identity), serviceRights, type)
 {
 }