More actions
jrfconvert import |
Nguyenduyan (talk | contribs) No edit summary |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
[[Category: | [[Category:User_Functions]] | ||
| [Obsolete - please use [[User_new|User_new]]. More detail at [[ConversionMethods|ConversionMethods]] ] | ||
====createUser==== | ====createUser==== | ||
Line 20: | Line 20: | ||
'''Return type''' | '''Return type''' | ||
number | number. It's User ID | ||
'''Example''' | '''Example''' | ||
Line 31: | Line 31: | ||
//return 11113 | //return 11113 | ||
Latest revision as of 09:21, 6 December 2024
[Obsolete - please use User_new. More detail at ConversionMethods ]
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