summaryrefslogtreecommitdiff
path: root/docs/account_access.md
blob: 604fb48ebb0bc41cd554d2c21b2fed8f2480a91d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# account\_access

[<-Back-to:Auth](database-auth.md)

**The \`account\_access\` table**

This table holds security access level for any realm in [realmlist](realmlist) table.

**Structure**

| Field        | Type       | Attributes | Key | Null | Default | Extra | Comment |
|--------------|------------|------------|-----|------|---------|-------|---------|
| [id][1]      | int(10)    | unsigned   | PRI | NO   |         |       |         |
| [gmlevel][2] | tinyint(3) | unsigned   |     | NO   |         |       |         |
| [RealmID][3] | int(11)    | signed     | PRI | NO   | -1      |       |         |

[1]: #id
[2]: #gmlevel
[3]: #realmid

**Description of the fields**

### id

The [account ID](account#id).

### gmlevel

The account security level. Different levels have access to different commands. The individual level required for a command is defined in the [command](command) table in each realm.

### RealmID

The [Realm ID](realmlist#id).