API docs     >     Users and Permissions     >     UserMgr

UserMgr->add

Description

add ( $name = 'n/a' )
Adds a User

Parameters

$name
string
(optional) Username

Returns

int|bool
New User Id or FALSE in case of an error