This may have been asked before, but I tried finding it, and drew a blank...
What I'd like to know is what function to call to figure out if a character you play is Horde or Alliance. Basically, I'm saving skill information, but don't think it's very useful showing the skills for Alliance chars when playing a Horde char on the same server, so I'd like to differentiate between the two of them.
Assistance would be appreciated.