$user_id, 'role_id' => $role_id, 'auth_mechanism' => $config['auth_mechanism'] ], 'roles_users');
} else {
print_warning("WARNING: User " . $user_id . " is already a role " . $role_id . " member.");
}
}
} else {
print_error("ERROR: Invalid user id.");
}
}
}
// EOF