Toggle menu
862
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

CreateUser: Difference between revisions

From Catglobe Wiki
Cg_pham (talk | contribs)
No edit summary
Line 20: Line 20:
'''Return type'''
'''Return type'''


number
number. It's User ID


'''Example'''
'''Example'''

Revision as of 07:21, 11 December 2019



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. It's User ID

Example

createUser();

//return 11112

createUser(1);

//return 11113

Availability

1st signature: Version 4.8

2nd signature: Version 5.4