CreateUser

From Catglobe Wiki
Revision as of 10:04, 7 March 2011 by 127.0.0.1 (talk | contribs) (jrfconvert import)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search



createUser

Creates a new user object, and return its id.

Syntax

createUser()

or

createUser(userResourceTemplateId)

Arguments

userResourceTemplateId: is a numeric (non-decimal) expression. It is the id of the user resource template. If there is no template specified, the default user template will be used.

Return type

number

Example

createUser();

//return 11112

createUser(1);

//return 11113

Availability

1st signature: Version 4.8

2nd signature: Version 5.4