Promotes a player to party/raid leader

See also Party functions, Raid functions.


PromoteToLeader("unit") or PromoteToLeader("name" [, exactMatch])


  • unit - A unit in the party or raid (string, unitID)
  • name - Name of a party member (string)
  • exactMatch - True to check only units whose name exactly matches the name given; false to allow partial matches (boolean)