Two electrons occupying the same orbital are distinguished by
azimuthal quantum number
spin quantum number
principal quantum number
magnetic quantum number.
For the two electrons occupying the same orbital values of n,l and ml are same but ms is different, +12and-12