Click here to Skip to main content
15,887,936 members
Home / Discussions / C#
   

C#

 
GeneralConvert Javascript to C# Code Pin
kornstyle31-Mar-05 8:39
kornstyle31-Mar-05 8:39 
GeneralRe: Convert Javascript to C# Code Pin
Richard Parsons31-Mar-05 8:46
Richard Parsons31-Mar-05 8:46 
GeneralRe: Convert Javascript to C# Code Pin
Judah Gabriel Himango31-Mar-05 9:00
sponsorJudah Gabriel Himango31-Mar-05 9:00 
GeneralExposing a control through a property Pin
Richard Parsons31-Mar-05 8:26
Richard Parsons31-Mar-05 8:26 
GeneralRe: Exposing a control through a property Pin
spif200131-Mar-05 19:54
spif200131-Mar-05 19:54 
GeneralRe: Exposing a control through a property Pin
spif200131-Mar-05 20:02
spif200131-Mar-05 20:02 
QuestionMatching visual lines in RTF with internal Lines? Pin
LongRange.Shooter31-Mar-05 8:10
LongRange.Shooter31-Mar-05 8:10 
QuestionHow to add a new user using DirectoryServices (User Logon Name) Pin
markaelkins31-Mar-05 6:09
markaelkins31-Mar-05 6:09 
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)

GeneralDrawing a transparent labe over another control Pin
RudyBone31-Mar-05 5:29
RudyBone31-Mar-05 5:29 
GeneralRe: Drawing a transparent labe over another control Pin
Heath Stewart31-Mar-05 6:34
protectorHeath Stewart31-Mar-05 6:34 
GeneralRe: Drawing a transparent labe over another control Pin
RudyBone31-Mar-05 6:51
RudyBone31-Mar-05 6:51 
GeneralRe: Drawing a transparent labe over another control Pin
Heath Stewart31-Mar-05 8:24
protectorHeath Stewart31-Mar-05 8:24 
Generalimage Resize Pin
muslcesonvacation31-Mar-05 5:20
muslcesonvacation31-Mar-05 5:20 
GeneralRe: image Resize Pin
Heath Stewart31-Mar-05 5:27
protectorHeath Stewart31-Mar-05 5:27 
GeneralRe: image Resize Pin
muslcesonvacation31-Mar-05 5:31
muslcesonvacation31-Mar-05 5:31 
GeneralRe: image Resize Pin
Heath Stewart31-Mar-05 6:25
protectorHeath Stewart31-Mar-05 6:25 
GeneralRe: image Resize Pin
Heath Stewart31-Mar-05 6:23
protectorHeath Stewart31-Mar-05 6:23 
GeneralDates Pin
scotlandc31-Mar-05 5:11
scotlandc31-Mar-05 5:11 
GeneralRe: Dates Pin
techieboi31-Mar-05 5:57
techieboi31-Mar-05 5:57 
GeneralRe: Dates Pin
Heath Stewart31-Mar-05 6:19
protectorHeath Stewart31-Mar-05 6:19 
GeneralRe: Dates Pin
scotlandc4-Apr-05 0:52
scotlandc4-Apr-05 0:52 
GeneralWhidbey - beta1 - "Beta period has expired!!!" Pin
abcxyz8231-Mar-05 3:59
abcxyz8231-Mar-05 3:59 
GeneralRe: Whidbey - beta1 - "Beta period has expired!!!" Pin
Judah Gabriel Himango31-Mar-05 4:53
sponsorJudah Gabriel Himango31-Mar-05 4:53 
GeneralRe: Whidbey - beta1 - "Beta period has expired!!!" Pin
Koushik.roy@rbc.com31-Mar-05 10:33
Koushik.roy@rbc.com31-Mar-05 10:33 
GeneralQuestion on File.Copy Pin
RockRock31-Mar-05 3:42
RockRock31-Mar-05 3:42 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.