In the "members" table there is a column "local". This is an integer value used as a bitmask with the following meaning: Val Local 1 AAMTA 2 MTAB 4 CCMTA 8 MTACC 16 ESMTA 32 FCMTA 64 MTAGB 128 GCMTA 256 GLMTA 512 HCMTA 1024 MCMTA 2048 MTASM 4096 PGMTA