In a 5 man, party1 is ALWAYS the party leader, unless you are the party leader.

In a raid, it's not controllable who is party 1, and if you are the party leader there is no predictable way to determine who is party1.