Documentation forSolarWinds Platform

Configure user password expiration

This topic applies to all SolarWinds Platform products.

Starting with Orion Platform 2020.2.6, you can configure that user password expires on a specific date or after a time period. By default, user passwords are configured to never expire.

On Manage Accounts, you can see an overview of Password Expiration settings for your users, in the Password Expires column.

Configure password expiration

You can configure passwords to expire after a specific time period or at a specific date. The expiration is one time only; after the password reaches the expiration, the expiration is not reset.

Configure password expiration in a database management tool

Log in to your SolarWinds Platform database with SQL Studio or Database Manager, and change the value of PasswordExpirationDate in the Accounts table. See the examples below.

User1 account expires in 30 days

update accounts set passwordexpirationdate=dateadd(day,30,getutcdate()) where accountid='user1'

User1 account expires on June 30, 2021

update accounts set passwordexpirationdate='6/30/2021 2:53 PM' where accountid='user1'

User1 account never expires

update accounts set passwordexpirationdate=NULL where accountid='user1'

Configure password expiration in Orion SDK

To configure password expiration in Orion SDK, use the Orion.Accounts verb. See examples below.

Password expiration examples in SDK

#region Pre-requisites that may be skipped on next execution
Install-Module -Name SwisPowerShell
Import-Module SwisPowerShell
$swis = Connect-Swis -Hostname localhost -UserName admin -Password "DefaultPWD1!"
Invoke-SwisVerb $swis Orion.Accounts UpdateAccount @('user1',@{PasswordExpirationDate=$null})
Invoke-SwisVerb $swis Orion.Accounts UpdateAccount @('user1',@{PasswordExpirationDate=(Get-Date).ToUniversalTime().AddDays(30)})

The scripts are not supported under any SolarWinds support program or service. The scripts are provided AS IS without warranty of any kind. SolarWinds further disclaims all warranties including, without limitation, any implied warranties of merchantability or of fitness for a particular purpose. The risk arising out of the use or performance of the scripts and documentation stays with you. In no event shall SolarWinds or anyone else involved in the creation, production, or delivery of the scripts be liable for any damages whatsoever (including, without limitation, damages for loss of business profits, business interruption, loss of business information, or other pecuniary loss) arising out of the use of or inability to use the scripts or documentation.