Deactivate or reactivate licensed users
Please note that an administrative PowerShell console at the ScriptRunner Service host is required to run the cmdlets of the ScriptRunnerSettings module.
Deactivate a licensed user
Users who leave the company or move to another team and do not need access to ScriptRunner anymore, can be deactivated in the license. Afterwards the user license will be available for another users.
The deactivation of a user should be final, a reactivation should be the exception!
- Run the Get-AsrLicensedUser cmdlet to lists all licensed users.
- Run the Disable-AsrLicensedUser cmdlet and use exactly the user string that was displayed by the Get-AsrLicensedUser cmdlet to deactivate a single user.
Disable-AsrLicensedUser -LicensedUserString mydomain\username
Parameter set description:
|Exact string (including case!) for the licensed user account to deactivate|
|User name of the licensed user account (domain or local users)|
Reactivation of a single user
Mistakenly deactivated users can be reactivated. This should only be done in exceptional cases!
Please contact the ScriptRunner Support, email@example.com, and provide the unmitigated output of the Get-AsrLicense cmdlet to request a license key for the user reactivation.
This license activation key can only be used once to reactivate one single user.
- After you have received the key you can run the Get-AsrLicensedUser cmdlet, with the Parameter -ShowDisabled.
- Run the Enable-AsrLicensedUser cmdlet and use exactly the user string that is displayed by the Get-AsrLicensedUser cmdlet.
Enable-AsrLicensedUser -ActivationKey ReactivateKey -ExactLicensedUserString mydomain\username
|License activation key to reactivate a previously disabled user account|
|Exact string (including case!) for the licensed user account to register|
This page has been automatically translated and may contain grammatical errors or inaccuracies