Skip to main content
Skip table of contents

Virtual smart card - Options for expiring virtual smart cards

These are the options that can be set for how to handle expiring virtual smart cards in the Virtual smart card package in Smart ID Identity Manager.

Manage the option to set up how often to send emails regarding expiring virtual smart cards
  1. Log in to Identity Manager Admin as Administrator.
  2. In Identity Manager Admin, go to Home > Scripts.
  3. Select the script VirtualSmartCardScriptExpiringOptions.
  4. In the script, go to the VirtualSmartCardEmailBeforeExpiringDays variable, see the example. By default it is set to 60, 30, 14, 7, which means that an email will be sent out 60, 30, 14 and 7 days before the mobile ID expires.

    Example:

    /*
    Defines a list of days for when the expiring check email is sent out.
    These values must be comma-separated and as an Integer.
    Currently maximum day is 60.
    Changes need to be applied to the search configuration VirtualSmartCardSearchBatchSyncExpiring if higher value is required.
    Possible options:
     * [60, 30, 14, 7](default) - Email will be sent out 60, 30, 14 and 7 days before expiring.
    */
    VirtualSmartCardEmailBeforeExpiringDays = [60, 30, 14, 7]
  5. Click Save in the upper left corner to save the updated script (or exit without saving if there are no updates).
Manage the option to send reminder emails
  1. Log in to Identity Manager Admin as Administrator.
  2. In Identity Manager Admin, go to Home > Scripts.
  3. Select the script VirtualSmartCardScriptExpiringOptions.
  4. In the script, go to the VirtualSmartCardEmailBeforeExpiringEachDay variable, see the example. By default it is set to true, which means that emails are sent out each day after the last day in VirtualSmartCardEmailBeforeExpiringDays, (in the example above, day 7 before expiring).

    Example:

    /*
    Defines if expiring check email is supposed to be sent each day after the last day in VirtualSmartCardEmailBeforeExpiringDays.
    Example: If the last day(least) is 7 in VirtualSmartCardEmailBeforeExpiringDays. Send email on 6, 5, 4, 3, 2 and 1.
    Possible options:
     * true(default)  - Email will be sent out every day after the last day in VirtualSmartCardEmailBeforeExpiringDays.
     * false - Emails will not be sent out after the last day in VirtualSmartCardEmailBeforeExpiringDays.
    */
    VirtualSmartCardEmailBeforeExpiringEachDay = true
  5. If you do not want emails to be sent out after the last day in VirtualSmartCardEmailBeforeExpiringDays, set VirtualSmartCardEmailBeforeExpiringEachDay to false.

Technical details

Default value and outcome
VariableValueOutcome
VirtualSmartCardEmailBeforeExpiringDays [60, 30, 14, 7] (default)An email will be sent out 60, 30, 14 and 7 days before the mobile ID expires
OtherAs set in the value
VirtualSmartCardEmailBeforeExpiringEachDay True (default)Emails are sent out each day after the last day in VirtualSmartCardEmailBeforeExpiringDays
FalseNo emails are sent out after the last day in VirtualSmartCardEmailBeforeExpiringDays
Virtual smart card - manage options script for expiring virtual smart cards

Click here to see the whole script for managing options for expiring virtual smart cards.


JavaScript errors detected

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

If this problem persists, please contact our support.