MDL-40548 added mod_assign_get_user_flags and
mod_assign_get_user_mapping