Exemple #1
0
	def to_dict(self):
		t = {}
		t['cn'] = vn(self.cn)
		t['displayName'] = vn(self.displayName)
		t['distinguishedName'] = vn(self.distinguishedName)
		t['flags'] = vn(self.flags)
		t['gPCFileSysPath'] = vn(self.gPCFileSysPath)
		t['gPCFunctionalityVersion'] = vn(self.gPCFunctionalityVersion)
		t['gPCMachineExtensionNames'] = vn(self.gPCMachineExtensionNames)
		t['systemFlags'] = vn(self.systemFlags)
		t['objectClass'] = vn(self.objectClass)
		t['objectGUID'] = vn(self.objectGUID)
		t['whenChanged'] = vn(self.whenChanged)
		t['whenCreated'] = vn(self.whenCreated)
		return t
Exemple #2
0
 def to_dict(self):
     t = {}
     t['sn'] = vn(self.sn)
     t['cn'] = vn(self.cn)
     t['distinguishedName'] = vn(self.distinguishedName)
     t['initials'] = vn(self.initials)
     t['givenName'] = vn(self.givenName)
     t['displayName'] = vn(self.displayName)
     t['description'] = vn(self.description)
     t['name'] = vn(self.name)
     t['objectCategory'] = vn(self.objectCategory)
     t['objectClass'] = vn(self.objectClass)
     t['objectGUID'] = vn(self.objectGUID)
     t['objectSid'] = vn(self.objectSid)
     t['primaryGroupID'] = vn(self.primaryGroupID)
     t['sAMAccountName'] = vn(self.sAMAccountName)
     t['userPrincipalName'] = vn(self.userPrincipalName)
     t['servicePrincipalName'] = vn(self.servicePrincipalName)
     t['memberOf'] = vn(self.memberOf)
     t['member'] = vn(self.member)
     t['accountExpires'] = vn(self.accountExpires)
     t['badPasswordTime'] = vn(self.badPasswordTime)
     t['lastLogoff'] = vn(self.lastLogoff)
     t['lastLogon'] = vn(self.lastLogon)
     t['lastLogonTimestamp'] = vn(self.lastLogonTimestamp)
     t['pwdLastSet'] = vn(self.pwdLastSet)
     t['whenChanged'] = vn(self.whenChanged)
     t['whenCreated'] = vn(self.whenCreated)
     t['badPwdCount'] = vn(self.badPwdCount)
     t['logonCount'] = vn(self.logonCount)
     t['sAMAccountType'] = vn(self.sAMAccountType)
     t['codePage'] = vn(self.codePage)
     t['countryCode'] = vn(self.countryCode)
     t['userAccountControl'] = vn(self.userAccountControl)
     t['when_pw_change'] = vn(self.when_pw_change)
     t['when_pw_expires'] = vn(self.when_pw_expires)
     t['must_change_pw'] = vn(self.must_change_pw)
     t['admincount'] = self.admincount
     t['canLogon'] = vn(self.canLogon)
     return t
Exemple #3
0
 def to_dict(self):
     t = {}
     t['sn'] = vn(self.sn)
     t['cn'] = vn(self.cn)
     t['distinguishedName'] = vn(self.distinguishedName)
     t['accountExpires'] = vn(self.accountExpires)
     t['badPasswordTime'] = vn(self.badPasswordTime)
     t['badPwdCount'] = vn(self.badPwdCount)
     t['codePage'] = vn(self.codePage)
     t['countryCode'] = vn(self.countryCode)
     t['displayName'] = vn(self.displayName)
     t['dNSHostName'] = vn(self.dNSHostName)
     t['instanceType'] = vn(self.instanceType)
     t['isCriticalSystemObject'] = vn(self.isCriticalSystemObject)
     t['lastLogoff'] = vn(self.lastLogoff)
     t['lastLogon'] = vn(self.lastLogon)
     t['lastLogonTimestamp'] = vn(self.lastLogonTimestamp)
     t['logonCount'] = vn(self.logonCount)
     t['localPolicyFlags'] = vn(self.localPolicyFlags)
     t['supported_enc_types'] = vn(self.supported_enc_types)
     t['name'] = vn(self.name)
     t['objectCategory'] = vn(self.objectCategory)
     t['objectClass'] = vn(self.objectClass)
     t['objectGUID'] = vn(self.objectGUID)
     t['objectSid'] = vn(self.objectSid)
     t['operatingSystem'] = vn(self.operatingSystem)
     t['operatingSystemVersion'] = vn(self.operatingSystemVersion)
     t['primaryGroupID'] = vn(self.primaryGroupID)
     t['pwdLastSet'] = vn(self.pwdLastSet)
     t['sAMAccountName'] = vn(self.sAMAccountName)
     t['sAMAccountType'] = vn(self.sAMAccountType)
     t['whenChanged'] = vn(self.whenChanged)
     t['whenCreated'] = vn(self.whenCreated)
     t['servicePrincipalName'] = vn(self.servicePrincipalName)
     t['userAccountControl'] = vn(self.userAccountControl)
     return t