Platform Explorer / Nuxeo Platform 6.0

Operation User.CreateOrUpdate

Create or Update User

Description

Create or Update User.
Operation id User.CreateOrUpdate
AliasesServices.CreateUser
Category Users & Groups
Label Create or Update User
Requires
Since

Parameters

Name Description Type Required Default value
username string yes  
company string no  
email string no  
firstName string no  
groups stringlist no  
lastName string no  
mode string no createOrUpdate, create, update 
password string no  
properties properties no  
tenantId string no  

Signature

Inputs void
Outputs void

Implementation information

Implementation class org.nuxeo.ecm.automation.core.operations.users.CreateOrUpdateUser
Contributing component org.nuxeo.ecm.core.automation.features.operations

JSON definition

{
  "id" : "User.CreateOrUpdate",
  "aliases" : [ "Services.CreateUser" ],
  "label" : "Create or Update User",
  "category" : "Users & Groups",
  "requires" : null,
  "description" : "Create or Update User.",
  "url" : "User.CreateOrUpdate",
  "signature" : [ "void", "void" ],
  "params" : [ {
    "name" : "username",
    "description" : "",
    "type" : "string",
    "required" : true,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "company",
    "description" : "",
    "type" : "string",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "email",
    "description" : "",
    "type" : "string",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "firstName",
    "description" : "",
    "type" : "string",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "groups",
    "description" : "",
    "type" : "stringlist",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "lastName",
    "description" : "",
    "type" : "string",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "mode",
    "description" : "",
    "type" : "string",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ "createOrUpdate", "create", "update" ]
  }, {
    "name" : "password",
    "description" : "",
    "type" : "string",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "properties",
    "description" : "",
    "type" : "properties",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "tenantId",
    "description" : "",
    "type" : "string",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  } ]
}