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