im createuser
creates a user
Synopsis
im createuser [--name=value] [--description=value] [--image=[none|default|<path>] [--fullName=value] [--email=value] [--notificationRule=rule] [--notificationRuleFile=value] [--copyNotification=[user|group]:<name>] [--[no]active] [--[no]allowNonRealm] [-Ffile|--selectionFile=file] [--user=name] [--hostname=server] [--password=password] [--port=number] [-?|--usage] [-N|--no] [-Y|--yes] [--[no]batch] [--cwd=directory] [--forceConfirm=[yes|no]] [--quiet] [-g|--gui] [--settingsUI=[gui|default]] [--status=[none|gui|default]]
Description
im createuser creates a user for workflows and documents. By default, the user must exist in the realm. The create users feature is helpful for assigning work to users who have not yet auto-registered by logging in. For example:
im createuser --name=jriley --description=ServicesManager
creates the user jriley with a description.
Options
This command takes the universal options available to all
im commands, as well as some general options. See the
options reference page for descriptions.
• --name=value
specifies the name of the user to create. Names can be a maximum of 100 characters and cannot contain square brackets. This option is mandatory.
|
PTC recommends you do not use commas, colons, or special characters in user names. If you use commas in the user name, you cannot select the user in a multi-valued user field. If you use colons in the user name, the user cannot edit shared system provided objects (charts, queries, reports, and dashboards).
|
• --description=value
specifies a description of the user.
• --image=[none|default|<path>]
specifies whether an image appears for the user.
--image=none does not specify an image for the user.
--image=default specifies the default "person" image for the user.
--image=<path> specifies the path and name of a custom image for the user, for example, c:\images\defect_icon.gif.
|
Images must be GIF or JPEG format, and no larger than 16 by 24 pixels.
|
• --fullName=value
specifies the full name of the user.
• --email=value
specifies the e-mail address of the user.
• --notificationRule=rule
specifies the notification rule for this principal. For the rule syntax, see Specifying Rules on the
options reference page.
|
• To specify a date and time for a date field, use the MM/dd/yyyy h:mm:ss [AM|PM] format. You can specify a time only if the date field is configured to display the time. To specify the current date for a date field, type today. This option can be specified for a date field or a date field configured to display the date and time. To specify the current date and time for a date field, type now. This option can be specified only if the date field is configured to display the date and time. To specify an empty value for the date field, type none.
• When specifying a user, you can specify the user's name or "me". "me" is a symbolic user which refers to the user that the notification rule is created for. This is useful if you want to create a common notification rule and share it with other users.
• E-mail notification is subject to project, type, and field visibility rules. Only users that have visibility for a given project and type receive e-mail notification for issues related to that project and type. In addition, e-mail notifications include only the fields they have permission to view.
|
• --notificationRuleFile=value
specifies the file that contains the rules to read. For the file content format, see Specifying Rules on the
options reference page.
• --copyNotification=[user|group]:<name>
copies the given user/group's notification rules. This command copies the given user/group's notification rule into this user's at the time that the command is run.
• --[no]active
Specifies if the user is actively used in Integrity Lifecycle Manager. This option is useful for removing users that no longer exist in your organization. Specifying --noactive prevents the user from being displayed in user drop-down lists; however, the user still appears in existing issue data.
• --[no]allowNonRealm
confirms the non-realm allowance. By default, a user cannot be imported into the Integrity Lifecycle Manager database unless that user exists in the current realm. This option allows you to override the requirement that the user needs to be in the realm. --noallowNonRealm is specified by default.
See Also