Which function can be used to get the user's object using the username? I've tried get_userdatabylogin() but the function seemed to throw an error:
Parse error, unexpected T_STRING on line xx
The function was called like so:
get_userdatabylogin($username);