Scripts can support different functionality if a user has logged in with a password or if they used a smart card.
When the user logs on (or unlocks the workstation), an internal SecureLogin variable is set to True or False via the network provider.
If ?IsPIN(System) = True, the user logged on with a smart card and PIN.
If ?IsPIN(System) = False, the user logged on with a password.
Using this variable, organizations can determine if the user logged on with a smart card/PIN or UID/PWD (e.g. in emergency cases) and react accordingly.
If ?IsPIN Eq True
MessageBox "Please log-in with your smart card to gain access to this application"