[2.2] get_user and get_user_id methods

Closes #5429