How can I update active directory attributes using c#. In my case I have the following case. For every user there is a WhenCreated attribute in AD, but what i want is, if the whenDate is less than 30 days set the info attribute to NEW in active directory.
How can I do this via c# step by step.