Search bar searching all identities

Ive been working on a cad system for little while now. Im completely done with my CAD system except there one problem, im using a search bar to search acrossed the identities for the law enforcement, but its only searches for identities made on your account. I need to to search every identity made