Create user
One of the following options could be used:
-
Create a user with a specified password. The userName, fullName, email and password needs to be specified.
-
Create a user with an email notification to the user. The userName, fullName, email and notifyViaEmail (true) needs to be specified.
Requirements:
-
The userName should not be null or blank
-
The userName should not contain any of these characters \ , + < > ’ “
-
The userName should not contain any whitespace characters
-
The userName should not be “anonymous”
-
The userName should not contain any upper case characters
-
The fullName should not be null or blank
-
The fullName should not contain any of these characters
-
The fullName should not be “anonymous”
-
The email should not be null or blank
-
The email should be a valid email address
-
If notifyViaEmail is false then the password should not be null or blank
-
If notifyViaEmail is true then the password should not be specified
/rest/api/admin/userapplication/jsonDetails of the user to be created
userNamestringfullNamestringemailstringpasswordstringnotifyViaEmailbooleanreturns a response with generated UserKey for the created user.
userKeystringreturned if any error occurs while creating the user
statusCodeinteger<int32>dataValidationResultShow propertiesHide properties
authorizedbooleanvalidbooleanerrorsobjectsuccessfulbooleanallowedInReadOnlyModebooleanmessagestringreasonstringreturned if an anonymous (or unauthenticated) user tries to create a user
statusCodeinteger<int32>dataValidationResultShow propertiesHide properties
authorizedbooleanvalidbooleanerrorsobjectsuccessfulbooleanallowedInReadOnlyModebooleanmessagestringreasonstringreturned if no more licenses available to create a user
statusCodeinteger<int32>dataValidationResultShow propertiesHide properties
authorizedbooleanvalidbooleanerrorsobjectsuccessfulbooleanallowedInReadOnlyModebooleanmessagestringreasonstringreturned if user does not have enough permission to create a user
statusCodeinteger<int32>dataValidationResultShow propertiesHide properties
authorizedbooleanvalidbooleanerrorsobjectsuccessfulbooleanallowedInReadOnlyModebooleanmessagestringreasonstringreturned if the user with the same userName already exists
statusCodeinteger<int32>dataValidationResultShow propertiesHide properties
authorizedbooleanvalidbooleanerrorsobjectsuccessfulbooleanallowedInReadOnlyModebooleanmessagestringreasonstring