ğ

LJ::create_account

LJ::create_account — Creates a new basic account. Note: This function is not really too useful but should be extended to be useful so htdocs/create.bml can use it, rather than doing the work itself.

Use

LJ::create_account(dbarg, opts);

Arguments

  • dbarg. Deprecated; a master database handle ($dbh) or a master/slave set of database handles ($dbs).

  • opts. hashref containing keys 'user', 'name', and 'password'

Source:

cgi-bin/ljlib.pl

Returns:

integer of userid created, or 0 on failure.