subject complement
An objective pronoun functions as an object in a sentence. Here are some examples using him:
Direct object: I punched him.
Indirect object: I gave him the dog.
Object of the preposition: I gave the dog to him.
A subject complement follows a linking verb and renames the subject. For example, The liar is he.