Jump to content

Option to enable/disable Password Checkout/Checkin on Passwords using the API


Recommended Posts

  • 1 year later...
  • 2 months later...
  • 2 weeks later...

I script a workaround with powershell sql cmdlet to reach this goal but it not use password state api

$query = "UPDATE dbo.passwords SET ChangeOnCheckin = '1', RequiresCheckOut = '1' where PasswordListID like '< Passwordlist ID >' AND passwordid like '<password id>'"


Invoke-Sqlcmd -Query $query -ServerInstance "DBSERVER\INstance,PORT" -Database <DBname> -Username <username> -Password <XXXXXXXX>


Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...