During the installation of my application on a server, the following line is executed:
using (var com = con.CreateCommand())
{
com.CommandText = "CREATE LOGIN [BUILTIN\Administrators] FROM WINDOWS";
com.ExecuteNonQuery();
}
This code works fine when run on English operating systems, but when I tried to run on a Portuguese OS it did not work.
What would be the correct command, so that this code can run on any operating system, regardless of language?