Exemple #1
0
        public DNSZone(LDAPProperty ldapProperty)
        {
            if (ldapProperty == null)
            {
                return;
            }

            adspath            = ldapProperty.adspath;
            objectsid          = ldapProperty.objectsid;
            sidhistory         = ldapProperty.sidhistory;
            grouptype          = ldapProperty.grouptype;
            samaccounttype     = ldapProperty.samaccounttype;
            objectguid         = ldapProperty.objectguid;
            useraccountcontrol = ldapProperty.useraccountcontrol;
            Owner              = ldapProperty.Owner;
            Group              = ldapProperty.Group;
            DiscretionaryAcl   = ldapProperty.DiscretionaryAcl;
            SystemAcl          = ldapProperty.SystemAcl;
            accountexpires     = ldapProperty.accountexpires;
            lastlogon          = ldapProperty.lastlogon;
            lastlogontimestamp = ldapProperty.lastlogontimestamp;
            pwdlastset         = ldapProperty.pwdlastset;
            lastlogoff         = ldapProperty.lastlogoff;
            badPasswordTime    = ldapProperty.badPasswordTime;
            name = ldapProperty.name;
            distinguishedname = ldapProperty.distinguishedname;
            dnsrecord         = ldapProperty.dnsrecord;
            whencreated       = ldapProperty.whencreated;
            whenchanged       = ldapProperty.whenchanged;
            samaccountname    = ldapProperty.samaccountname;
            member            = ldapProperty.member;
            memberof          = ldapProperty.memberof;
            cn                   = ldapProperty.cn;
            objectclass          = ldapProperty.objectclass;
            ZoneName             = ldapProperty.name;
            managedby            = ldapProperty.managedby;
            siteobject           = ldapProperty.siteobject;
            ServicePrincipalName = ldapProperty.siteobject;
            dnshostname          = ldapProperty.dnshostname;
            gplink               = ldapProperty.gplink;
            others               = ldapProperty.others;
        }
Exemple #2
0
 public LDAPProperty(LDAPProperty property)
 {
     adspath            = property.adspath;
     objectsid          = property.objectsid;
     sidhistory         = property.sidhistory;
     grouptype          = property.grouptype;
     samaccounttype     = property.samaccounttype;
     objectguid         = property.objectguid;
     useraccountcontrol = property.useraccountcontrol;
     Owner              = property.Owner;
     Group              = property.Group;
     DiscretionaryAcl   = property.DiscretionaryAcl;
     SystemAcl          = property.SystemAcl;
     accountexpires     = property.accountexpires; // DateTime or string ("NEVER")
     lastlogon          = property.lastlogon;
     lastlogontimestamp = property.lastlogontimestamp;
     pwdlastset         = property.pwdlastset;
     lastlogoff         = property.lastlogoff;
     badPasswordTime    = property.badPasswordTime;
     name = property.name;
     distinguishedname = property.distinguishedname;
     dnsrecord         = property.dnsrecord;
     whencreated       = property.whencreated;
     whenchanged       = property.whenchanged;
     samaccountname    = property.samaccountname;
     member            = property.member;
     memberof          = property.memberof;
     cn                   = property.cn;
     objectclass          = property.objectclass;
     managedby            = property.managedby;
     siteobject           = property.siteobject;
     ServicePrincipalName = property.ServicePrincipalName;
     dnshostname          = property.dnshostname;
     gplink               = property.gplink;
     gpoptions            = property.gpoptions;
     displayname          = property.displayname;
     path                 = property.path;
     others               = property.others;
 }
Exemple #3
0
 public GPO(LDAPProperty property)
     : base(property)
 {
 }