»

LJ::want_user

LJ::want_user — Returns user object when passed either userid or the user hash. Useful to functions that want to accept either.

Use

LJ::want_user(user);

Arguments

  • user. Either a userid, or a user hash with the userid in its 'userid' key.

Source:

cgi-bin/ljlib.pl

Returns:

The user hash represented by said userid.