Class CreateOrUpdateUser
java.lang.Object
org.nuxeo.ecm.automation.core.operations.users.CreateOrUpdateUser
Operation to create or update a user.
- Since:
- 9.1
-
Field Summary
Modifier and TypeFieldDescriptionprotected String
static final String
static final String
protected OperationContext
protected String
protected String
protected StringList
static final String
protected String
protected String
protected String
protected Properties
protected String
static final String
protected static final String
protected UserManager
protected String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
canCreateOrUpdateUser
(DocumentModel userDoc) protected void
checkCanCreateOrUpdateUser
(DocumentModel userDoc) void
run()
-
Field Details
-
ID
- See Also:
-
CREATE_OR_UPDATE
- See Also:
-
CREATE
- See Also:
-
UPDATE
- See Also:
-
USER_COLON
- See Also:
-
userManager
-
ctx
-
username
-
password
-
email
-
firstName
-
lastName
-
company
-
tenantId
-
groups
-
properties
-
mode
-
-
Constructor Details
-
CreateOrUpdateUser
public CreateOrUpdateUser()
-
-
Method Details
-
run
- Throws:
OperationException
-
checkCanCreateOrUpdateUser
-
canCreateOrUpdateUser
-