UserMustChangePassword flag – Directory Services C# Programming During some development on a specific screen that allows users to set specific AD properties, one requirement was the ability to force the user to change their password when the user next logged on. This was not particularly straight forward. After several different scenarios – I resolved the setting and reading of the property. When that user’s record is read from AD I set a check box on the screen indicating whether...
.Net Directory Services Programming – C# - Part 2 Topics Covered Binding – How to connect to directory services and the flexibility of the bind process. Properties – Review of the most commonly used AD properties, and a look at a few others. Binding You will remember in Part 1 that we provided a very simple code example of binding to AD and retrieving the object reference for the user object CN=Mike Hamilton. Here I want to review a little more in detail the binding process. Binding...