Skip to main content
Skip table of contents

Users - Manage option to set end state of the created user

This article describes how to manage the option to set the end state in the Create user use case in Smart ID Identity Manager. Read more here: Smart ID Workforce use cases

A script in Identity Manager Admin is used to manage the option.

See a list of all available options in the Smart ID use cases here: Users - Options

Prerequisites

-

Step-by-step instruction

Log in to Identity Manager Admin
  1. Log in to Identity Manager Admin as Administrator.
Manage the option to set the end state for "Create user"
  1. In Identity Manager Admin, go to Home > Script.
  2. Select the script UsersScriptOptions.
  3. In the section Process end states in the script, go to the UsersOptionActivate variable, see the example. By default it is set to true, that is, the end state when you create a user is "active".

     /* 
    Defines if the end state of the user, if it should be active or inactive.
    Possible options:
     * true (default) - User is active after account creation.
     * false - User is inactive after account creation.
    */
    UsersOptionActivate = true

     

  4. If you instead want the end state when you create a user to be "inactive", set UsersOptionActivate to false.
  5. Click Save in the upper left corner to save the updated script (or exit without saving if there are no updates)

Technical details

Default value and outcome
ValueOutcome
True (default)The end state of a user will be "active" when a user is created
FalseThe end state of a user will be "inactive" when a user is created
The manage options for Users script

Click here to see the whole manage options script.

Additional information


JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.