Nexus Documentation
Breadcrumbs

Virtual smart card - Manage option to set properties related to the user

This article describes how to manage the option to set properties related to the user in the use case Get virtual smart card (self-service user) in the Virtual smart card package. A script in Identity Manager Admin is used to manage the options.

See a list of all available options in the Smart ID use cases for the Virtual smart card package here: Virtual smart card - Options

Prerequisites

Prerequisites

-

Step-by-step instruction for the administrator

Log in to Identity Manager Admin
  1. Log in to Identity Manager Admin as Administrator.


Manage the option to set properties related to the user
  1. In Identity Manager Admin, go to Home > Scripts.

  2. Select the script VirtualSmartCardScriptOptions.

  3. There are 3 variables in the script, see the example, see also section "Default value and outcome".

    Example:

    /* Defines properties which will be visible directly on the virtual smart card */ VirtualSmartCardOptionUserID = binding.variables["UsersDp_Email"] // --> CHANGE WITHIN [] VirtualSmartCardOptionServerName = "Nexus GO Services - Virtual Smart Card" // --> CHANGE HERE VirtualSmartCardOptionProfileName = "Virtual smart card " + binding.variables["UsersDp_Email"] // --> CHANGE WITHIN []


  4. 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


Variable

Default value

Example

VirtualSmartCardOptionUserID

The email of the user. This is a data pool, it could instead be, for example, id number. ["UsersDp_Email"]

john.doe@test.com

VirtualSmartCardOptionServerName

Can be any text

Nexus GO Services - Virtual smart card

VirtualSmartCardOptionProfileName

"Virtual smart card  " + ["UsersDp_Email"]

Virtual smart card john.doe@test.com



The manage options script


Click

here

to see the whole manage options script.


Related information