5 wire stepper motor

Hi again guys
I have a 5 wire M 42so-5 stepper motor and I am trying to use it in my shade project. The problem is I am having trouble figuring out what wire does what. The colour code if you are looking at the plug is red, Brown, orange, black, and yellow. I will post a pic as soon as I can.
Lou

Measure the resistances between the windings. The common wire will have the lowest readings with all the others.

The first thing to do with any motor is measure the winding resistances...

Thank you very much for the help. If I just had pinch of you guys knowledge I would be a we. Again I appreciate it very much for your help.