Returns the Unit's faction ID.
faction = Unit:GetFaction()
None.
number faction
Valid numbers: integers from 0 to 4,294,967,295.