docs: def get_user_details_by_userkey(self, userkey, expand=None):
          """
          Get information about a user through user key
          :param userkey: The user key
          :param expand: OPTIONAL expand for get status of user.
                  Possible param is "status". Results are "Active, Deactivated"
          :return: Returns the user details
          """
          if expand:
              url = 'rest/api/user?key={userkey}&expand={expand}'.format(userkey=userkey,
                                                                         expand=expand)
          else:
              url = 'rest/api/user?key={userkey}'.format(userkey=userkey)
          return self.get(url)