createUser

On this page
Back to index

Summary

Create a new user.
userName
Stringrequired
The user name.
email
Stringoptional
Email address of the user.
fullUserName
Stringoptional
Full name of the user.
groupNames
Array<Unknown>optional
List of groups that this user is in.
password
Stringoptional
The users password.
personas
Array<Unknown>optional
List of personas that this user has.

Usage

Groovy

import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.createUser( userName: "test-userName" /* optional arguments */ )