T
Tim Mitchell via .NET 247
Hey everyone,
I'm an experienced C# coder but I'm working with theSystem.DirectoryServices namespace for the first time. I'm alsonot yet a pro at Active Directory, so I have a bit of ahandicap. Nonetheless, I'm trying to create a simple Windowsapplication that will allow an authorized user to do thefollowing:
-- Create a new Active Directory account using a preexistingaccount as a template
-- Specify the user name and given name, and set the password
-- Map the user's "My Documents" to an individual folder (thisfolder will already exist)
Also, as a way of maintenance, authorized users will need to beable to:
-- Reset passwords for existing users
-- Disable or delete existing user accounts
So far, I've found a little information about directory services,but most of it assumes that the programmer is an expert atmanipulating Active Directory objects. Could anyone give somesimple and straightforward C# code samples that can lead me inthe right direction to complete this task? Or, if adocument/book/tutorial already exists that covers this subjectthoroughly, please let me know where to find it?
Thanks in advance...
Tim
I'm an experienced C# coder but I'm working with theSystem.DirectoryServices namespace for the first time. I'm alsonot yet a pro at Active Directory, so I have a bit of ahandicap. Nonetheless, I'm trying to create a simple Windowsapplication that will allow an authorized user to do thefollowing:
-- Create a new Active Directory account using a preexistingaccount as a template
-- Specify the user name and given name, and set the password
-- Map the user's "My Documents" to an individual folder (thisfolder will already exist)
Also, as a way of maintenance, authorized users will need to beable to:
-- Reset passwords for existing users
-- Disable or delete existing user accounts
So far, I've found a little information about directory services,but most of it assumes that the programmer is an expert atmanipulating Active Directory objects. Could anyone give somesimple and straightforward C# code samples that can lead me inthe right direction to complete this task? Or, if adocument/book/tutorial already exists that covers this subjectthoroughly, please let me know where to find it?
Thanks in advance...
Tim