示例#1
0
 /// <summary> </summary>
 public RfcModifyDnRequest(RfcLdapDn entry, RfcRelativeLdapDn newrdn, Asn1Boolean deleteoldrdn,
                           RfcLdapDn newSuperior)
     : base(4)
 {
     Add(entry);
     Add(newrdn);
     Add(deleteoldrdn);
     if (newSuperior != null)
     {
         newSuperior.SetIdentifier(new Asn1Identifier(Asn1Identifier.Context, false, 0));
         Add(newSuperior);
     }
 }
示例#2
0
        // *************************************************************************
        // Constructors for ModifyDNRequest
        // *************************************************************************

        /// <summary> </summary>
        public RfcModifyDnRequest(RfcLdapDn entry, RfcRelativeLdapDn newrdn, Asn1Boolean deleteoldrdn)
            : this(entry, newrdn, deleteoldrdn, null)
        {
        }