I am trying to use same API call for both Server and cloud version, as cloud version rest API calls are using user id instead of user name, I do not know how to get the user id