API17

JUserHelper::getUserId

From Joomla! Documentation

Revision as of 21:31, 23 April 2011 by Doxiki2 (talk | contribs) (Layout updates)

The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

Joomla 11.1 JUserHelper::getUserId[edit]

Description[edit]

Returns userid if a user exists.

Template:Description:JUserHelper::getUserId [Edit Descripton]

Synopsis[edit]

public static JUserHelper::getUserId ($username)
Parameter Type Default Description
$username string The username to search on

Returns[edit]

int The user id or 0 if not found

Defined in[edit]

libraries/joomla/user/helper.php (line 268)

Referenced by[edit]

See also[edit]

[Edit See Also]

Template:SeeAlso:JUserHelper::getUserId

Examples[edit]

<CodeExamplesForm />