Each member in a raid group is assigned a numeric index value between 1 and MAX_RAID_MEMBERS (currently 40) called their RaidIndex.
RaidIndex values are used when referring to a raid member with the raidN UnitId and when querying raid roster information with the GetRaidRosterInfo function.