Refactoring LdapUser.