Skip to end of metadata
Go to start of metadata
 

Availability

This routine is available starting with SIL Engine™ 3.1.1/SIL Engine™ 3.0.13.

Syntax

createUser(username, displayName, email, password)

Starting with 4.0.9, an additional parameter has been added:

createUser(username, displayName, email, password [, directoryName])

Description

Creates a new user. 

Creates the user and configures it with the username, displayName, email, password and directoryName. 

Parameters

Parameter name

Type

Required

Description

 usernamestringyesUsername.
displayNamestringyesDisplay name.
emailstringyesEmail.
passwordstringyesPassword.
directoryNamestringnoUser directory name.

Return type

boolean

Returns "true" if the user was created and "false" if not.

Example 1

createUser("user", "fullname", "user@example.com", "password");

Example 2

createUser("user2", "fullname2", "user2@example.com", "password", "JIRA Internal Directory");

See also