Skip to end of banner
Go to start of banner

admCreateUser

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

 

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



  • No labels