Back to index
Summary
Modifies a non-local (LDAP) user that is registered with CloudBees CD/RO (with certain limitations described below) or a local user.userNameStringrequiredThe user name. clearPersonasBooleanoptionalClear personas for user, if modifying. Email address of the user. fullUserNameStringoptionalFull name of the user. groupNamesArray<Unknown>optionalList of groups that this user is in. migrateSettingsStringoptionalMigrate the user or group settings to this name. newNameStringoptionalThe new name for an existing object that is being renamed. passwordStringoptionalThe users password. personasArray<Unknown>optionalList of personas that this user has. removeFromAllGroupsBooleanoptionalTrue to remove this user from all groups. sessionPasswordStringoptionalSession user's password. Used to re-verify identity before changing user passwords in the system. |
Usage
Groovy
import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.modifyUser( userName: "test-userName" /* optional arguments */ )