From Joomla! Documentation

Revision as of 17:30, 11 May 2013 by JoomlaWikiBot (Talk | contribs)

Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

Joomla 11.1 JUserHelper::getUserId


Returns userid if a user exists.

Description:JUserHelper::getUserId [Edit Descripton]

public static function getUserId ($username)
Parameter Type Default Description
$username string The username to search on
  • Returns int The user id or 0 if not found
  • Defined on line 271 of libraries/joomla/user/helper.php
  • Referenced by

See also

SeeAlso:JUserHelper::getUserId [Edit See Also]

User contributed notes

<CodeExamplesForm />