Hi Gokhan,
Using user management API, you have the way to get the user based on their name. Please have a look at this link for the code snippet and let me know if it helps.
P.S This method takes other meta headers which contain the value of searched text which have along with you at the time of searching users.
Regards,
Himanshu Sharma