How to get user ID of profile that you are currently viewing

I don’t think that there is a Profile-ID, I need the userID of the user’s profile being viewed not of the current user.