Hello,
I need to get user ID but I have only user name for example (Adam Smith) and I must convert it to (smith.a). I couldn't find any solution how to do that.
I know how to get current user ID and name, but I don't have idea how to get user ID.
Please suggest what I need to do to convert user name for user ID.