The definition of to have something on someone is that you know some fact or secret, or that you have some specific skill or position, that gives you power over another person.
(noun)An example of having something on someone is knowing your friend is cheating on his wife and threatening that you could tell her at any time.