get_user function

{get_user} gives you quick information about a user, either the logged in user or a selected user.  The default is to simply print out the username of the current logged on user, but it accepts these params:

  • 'user' is the user id
  • 'assign' will assign the user record to a variable
Loading Help