Does anybody have a sampel code for creating a new user in Active Directory?
You would do this with ADSI, Active Directory Services Interface. There's a lot of information to cover so here's an excellent tutorial to get started with.
Managing Technical Editor
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center