The getpwnam function gets the next passwd record given the users login NAME.
getpwnam NAME
getpwnam "Alexis";