API C BattleNet.GetAccountInfoByID

Returns information about a Battle.net friend account. accountInfo = C_BattleNet.GetAccountInfoByID(id [, wowAccountGUID]) = C_BattleNet.GetAccountInfoByGUID(guid) = C_BattleNet.GetFriendAccountInfo(friendIndex [, wowAccountGUID])

GetAccountInfoByID

 * id : number - This is the same ID as the  return field.
 * wowAccountGUID : string ? : BNetAccountGUID

GetAccountInfoByGUID

 * guid : string : UnitGUID

GetFriendAccountInfo

 * friendIndex : number - Index ranging from 1 to
 * wowAccountGUID : string ? : BNetAccountGUID

Returns

 * accountInfo : BNetAccountInfo ?

Example
Shows your own account info. /dump C_BattleNet.GetAccountInfoByID(select(3, ))

Shows your Battle.net friends' account information.