We have a company intranet with staff management functions. I would like to begin automating setup of new staff members, e.g. creating Windows accounts for them, creating their home folders, setting up shares, and the like. When a staff member leaves the company I would like to automatically remove their user.
I have been battling to find any good references or libraries for administering users using .Net 2.0.
I am willing to write ADSI code or even WMI code, but need some sample code to kick start the process.