Difference between revisions of "CreateUser"

From Catglobe Wiki
Jump to: navigation, search
(createUser)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
[[Category:User_Functions]]
 
[[Category:User_Functions]]
{{HelpFiles}}
+
[Obsolete - please use [[User_new|User_new]]. More detail at [[ConversionMethods|ConversionMethods]] ]
  
 
====createUser====
 
====createUser====

Latest revision as of 03:34, 13 May 2022

[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

Availability

1st signature: Version 4.8

2nd signature: Version 5.4