Skip to main content
Skip table of contents

Virtual smart card - script for managing options for expiring virtual smart cards

This is the script that is used to manage the options for expiring cards in the Virtual smart card package in Smart ID Identity Manager.

//---------------- Expiring check ----------------

/*
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]

/*
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
JavaScript errors detected

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

If this problem persists, please contact our support.