Determine the right of command