Available for: Content Management Server
Task: This command creates a new user with the specified parameter values.
Additional information:
- The
loginparameter must be set when a user is created.Logincannot be changed subsequently. - The
ownerof the user will be set to the logged-in user ifowneris not specified as a parameter whencreateis called.
Syntax:
user create {parameter value}
Function parameters:
-
parameterspecifies the name of the user parameter whose value is to be set during the create procedure (see The user parameters). TheloginanddefaultGroupuser parameter must be specified. -
valueis the value to be set for the parameter.
Return value if successful: the login of the new user (string)
Necessary permissions: The user must have the
permissionGlobalUserEdit permission. Furthermore, the user must be the
owner of the new user’s default group.
Example:
CM>user create login jane realName {Jane Mitchum} \
defaultGroup admins
jane