[DllImport("netapi32.dll", CharSet = CharSet.Unicode, SetLastError = true)] public static extern uint NetUserAdd( string ServerName, uint Level, ref USER_INFO_2 Buf, out uint ParmError );
Microsoft documentation: Link
Last updated 1 year ago