createPersona

On this page
Back to index

Summary

Creates a new persona object.
personaName
Stringrequired
The persona name.
description
Stringoptional
Comment text describing this object that is not interpreted at all by CloudBees CD/RO.
homePageName
Stringoptional
The default home page.
isDefault
Booleanoptional
Set as default persona.
personaDetails
Stringoptional
The details of the persona, if creating.

Usage

Groovy

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