GetGuildMemberIndexFromDisplayName
ESO Lua API function — used by 60 of the 3,030 addons we indexed (combined 4,280,262 downloads). Signature from the official ESOUIDocumentation.txt, API version 101050.
Official signature
GetGuildMemberIndexFromDisplayName(integer guildId, string displayName)Returns: luaindex:nilable memberIndex
Real usage — from pChat (Chat customization & help: look/notification/sound/automation/history)
--Get guildMemberData from guildRoster, compare account and get it's level then
memberIndex = GetGuildMemberIndexFromDisplayName(guildId, accountName)
endShort excerpt from the shipping addon pChat (Chat customization & help: look/notification/sound/automation/history) — its ESOUI page; the code belongs to its author. Shown because documentation without a working example is half a reference.
Most-downloaded addons using it
| Addon | Total downloads |
|---|---|
| pChat (Chat customization & help: look/notification/sound/automation/history) | 1,832,805 |
| Arkadius' Trade Tools | 845,488 |
| ESO-Database.com Export AddOn | 272,910 |
| Guild Hall Button | 266,680 |
| Shissu's Guild Tools | 186,581 |
| LGM - Lilith's Group Manager | 87,503 |