Exemple #1
0
        protected void CreateWindowsLogin(string login, string password, string dbname)
        {
            string adinfo = UserAdditionalOptions.SetWindowsUser();

            CreateLogin("[" + login + "]", "", adinfo + UserAdditionalOptions.SetWindowsUserDataBase(dbname));
        }
Exemple #2
0
 protected void CreateSQLLogin(string login, string password, string dbname)
 {
     CreateLogin(login, password, UserAdditionalOptions.SetSqlUserDataBase(dbname));
 }