CCP 696     

Art. 696.  Pledgor and pledgee

The pledgee of a real right, or of a negotiable instrument or other incorporeal right, is the proper plaintiff to sue to enforce the pledged right.

The pledgee may enforce the entire right judicially, unless it is an obligation of the pledgor, in which event it may be enforced only to the extent of the indebtedness secured by the pledge.