app/models/canvas/add_new_users.rb
def new_active_user_uids
      all_active_sis_user_uids = CampusOracle::Queries.get_all_active_people_uids.to_set
      all_current_canvas_uids = []
      CSV.foreach(get_canvas_user_report_file, :headers => :first_row) do |canvas_user|
        all_current_canvas_uids << canvas_user['login_id']
      end
      all_active_sis_user_uids.subtract(all_current_canvas_uids).to_a
    end
# Loads array of new active LDAP people/guests from campus Oracle view
Loads array of new active LDAP people/guests from campus Oracle view
Loads array of new active LDAP people / guests from campus Oracle view
def new_active_user_uids
      all_active_sis_user_uids = CampusOracle::Queries.get_all_active_people_uids.to_set
      all_current_canvas_uids = []
      CSV.foreach(get_canvas_user_report_file, :headers => :first_row) do |canvas_user|
        all_current_canvas_uids << canvas_user['login_id']
      end
      all_active_sis_user_uids.subtract(all_current_canvas_uids).to_a
    end
def new_active_user_uids all_active_sis_user_uids = CampusOracle :: Queries . get_all_active_people_uids . to_set all_current_canvas_uids = [ ] CSV . foreach ( get_canvas_user_report_file , :headers => :first_row ) do | canvas_user | all_current_canvas_uids << canvas_user [ 'login_id' ] end all_active_sis_user_uids . subtract ( all_current_canvas_uids ) . to_a end
Loads array of new active LDAP people/guests from campus Oracle view
Loads array of new active LDAP people / guests from campus Oracle view