To dream of an uniform represents feelings about your role in a situation. Feeling a need to behave in a certain way. An aspect of your personality that is taking on a specific type of role.
Negatively, a uniform in a dream may reflect issues with feeling obligated to behave in a certain way. Alternatively, it may reflect issues with pretending to be something you are not. Experiencing a role reversal.
To dream of a military or army uniform represents feelings about your role in a situation being serious about maintaining stability. Feeling that you or someone has a responsibility to defend the integrity of a situation.
Example: A man dreamed of wearing a doctor’s uniform. In waking life he was having problems trying to nurse his father back to health.
Example 2: A man dreamed of wearing a police officer’s uniform. In waking life he felt the need to maintain order in a difficult situation