How to find User ID using User Name?

I want to retrieve the user id using user name but I have no idea how. I know how to do the other way around though

You can use one of the built-in actions User_GetIdByUsername from Users.

Is this what you're looking for?