ColdFusionDude
ColdFusionDude

Reputation: 29

Can I unlock an Active Directory account programmatically using CFLDAP?

I'm writing a trouble ticketing system. I want to be able to make a button, and when I click on it, it automatically unlocks a user's windows account in Active Directory.

Is this something that can be easily done using a CFLDAP query?

I'm running Coldfusion 8.

Upvotes: 3

Views: 976

Answers (1)

Matt Busche
Matt Busche

Reputation: 14333

You need to set userAccountControl=0

<cfldap 
  action="modify" 
  attributes="userAccountControl=0"
  server="yourserver"
  dn="your DN information">

Upvotes: 2

Related Questions