admCreateUser

Looking for the documentation on the newest versions of SIL Engine and the Simple Issue Language for Jira 8 for Server/Data Center? Click here !

 

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