How can I get a user by name?

I only have the users name and I want to get the user’s Id BY user’s name. How can I do that?

Thank you.


Above is how I do it currently,

I get all the users, I filter the name of a user and get the Id.

But this method doesn’t work when a user is not saved in Monday or when there is no user to save.

I need to find the user by their name not by their Id because I dont have their Id

Any answers?