How to add a new user using DirectoryServices (User Logon Name)
C#
1
Posts
1
Posters
0
Views
1
Watching
-
I am new to C# and looking for a little help. I need to programmatically add users "User Logon Name" / "WinNT logon" to the windows 2000 Active Directory. I need to control/add other properties, but for now this is the main objective. I have successfully added pre-Windows 2000 users with DirectoryEntry & NetUserAdd, but can't find the syntax to add a WinNT logon name. I am using Visual Studio.Net 2003 Thank you, markaelkins@gmail.com Other properties that I need to control/add: (password, Full name, pre-Windows 2000 logon, User cannot change password, Password never expires, Description, Office)