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