Collections functions
General functions
Node functions
Render functions
Theme permission functions
User functions
Resource functions

new_user()

Description

Create a new user

Parameters

ColumnTypeDefaultDescription
$newuser string - username to create
$usergroup integer 0 - optional usergroup to assign

Return

boolean|integer - id of new user or false if user already exists, or -2 if user limit reached

This article was last updated 29th May 2024 13:35 Europe/London time based on the source file dated 24th May 2024 12:50 Europe/London time.