WHUserApi::CreateUser (open)
Creates a new user
Syntax
LOADLIB "mod::wrd/lib/internal/userapi.whlib";
INTEGER FUNCTION CreateUser(RECORD data)
Parameters
RECORD data
User data
whuser_login
Login name
whuser_unit
Id of the unit to create this user in
wrd_contact_email
User email address
Return value
INTEGER
Id of the new user