arvida,
If you are a CPL, you should know this already.
If it is a aircraft that requires two crew, then you log time as P2.
If it is a single crew aircraft and the PIC is an instructor then you could log Dual.
If the PIC is not an instructor, then you are just a passenger.