Ejemplo n.º 1
0
 public override void RemoveUsersFromRoles(string[] userNames, string[] roleNames)
 {
     UserRoleDAO roleDao = new UserRoleDAO();
     foreach (string username in userNames)
     {
         foreach (string rolename in roleNames)
         {
             roleDao.DeleteFromNames(username, rolename);
         }
     }
 }
Ejemplo n.º 2
0
        public override void RemoveUsersFromRoles(string[] userNames, string[] roleNames)
        {
            UserRoleDAO roleDao = new UserRoleDAO();

            foreach (string username in userNames)
            {
                foreach (string rolename in roleNames)
                {
                    roleDao.DeleteFromNames(username, rolename);
                }
            }
        }