How To Programmatically Cause the Creation of a User's Profile
How To Programmatically Create a User's Profile from the NetworkServices account at WinServer 2008 r2.
T开发者_如何学GoHX, Alex
I don't know what are restrictions to NetworkServices
account, but to create new user you can use New-ADUser
Cmdlet.
Example how to use Cmdlets from C#: "Call PowerShell Cmdlets from C#"
精彩评论