public Dictionary <string, VMDirAttributeDTO> GetEntryProperties(ILdapEntry entry)
        {
            Dictionary <string, VMDirAttributeDTO> properties = new Dictionary <string, VMDirAttributeDTO>();

            string[] attNamerArr = entry.getAttributeNames().ToArray();
            foreach (string attrName in attNamerArr)
            {
                LdapValue[]       attrValArr = entry.getAttributeValues(attrName).ToArray();
                var               typeDTO    = _schemaManager.GetAttributeType(attrName);
                VMDirAttributeDTO dto        = new VMDirAttributeDTO(attrName, new List <LdapValue>(attrValArr), typeDTO);
                properties[attrName] = dto;
            }
            return(properties);
        }