by Mac Shah.
just pass as perameter
options[ids][0]= your course id
if you st it as blank you will get all course are listed for logged user