LJ::want_user — Returns user object when passed either userid or user object. Useful to functions that want to accept either.
LJ::want_user(user);
LJ::want_user(
)
user. Either a userid or a user hash with the userid in its 'userid' key.
cgi-bin/LJ/User.pm
The user object represented by said userid or username.