→ WoW API
|This function is protected, and may only be called in response to hardware event.|
Removes a player from the party/raid group if you're the party leader, or initiates a vote to kick a player from a Dungeon Finder group.
UninviteUnit("name" [, "reason"])
- String - Name of the player to remove from group. When removing cross-server players, it is important to include the server name: "Ygramul-Emerald Dream".
- String (Optional) - Used when initiating a kick vote against the player.
- If you're in a Dungeon Finder group and call UninviteUnit without providing a reason, the VOTE_KICK_REASON_NEEDED event will fire to notify you that a reason is required to initiate a kick vote.