Hello, you can check lfg roles by lua GetLFGRoles().
I assume you want to taunt mobs as tank from party members, you can use something like
var targettotaunt = wManager.Wow.ObjectManager.ObjectManager.GetWoWUnitAttackables().Where(q=>q.InCombat && q.TargetObject != ObjectManager.Me).FirstOrDefault();
To check wow class you can use wManager.Wow.ObjectManager.WoWUnit.WowClass