你可以用ADSI来完成,具体代码看这里。
HOW TO: Add a User to the Local System by Using Directory Services and Visual C# .NET
http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com:80/support/kb/articles/q306/2/73.asp&NoWebContent=1
HOW TO: Add a User to the Local System by Using Directory Services and Visual C# .NET
http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com:80/support/kb/articles/q306/2/73.asp&NoWebContent=1
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货