Skip to end of metadata
Go to start of metadata

Cprime Apps has been rebranded as Anova Apps. Please note the only effect is the company name - all of our products’ names, logos, functionalities, support, etc. is exactly the same. The new location to our documentation space is https://anovaapps.atlassian.net.

 

Availability

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

Syntax

admCreateUser(username, displayName, email, password)

Starting with 4.0.9, an additional parameter has been added:

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

Alias

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

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

Example 2

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

See also