summaryrefslogtreecommitdiff
path: root/docs/account_access.md
blob: 3d5a8c5b1ec304aa889feac206ed73354a4e1b2e (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
34
35
36
37
# 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      | UNSIGNED   | PRI | NO   |         |       |         |
| [gmlevel][2] | TINYINT   | UNSIGNED   |     | NO   |         |       |         |
| [RealmID][3] | INT      | SIGNED     | PRI | NO   | -1      |       |         |
| [comment][4] | VARCHAR(255) |            |     | YES  |         |       |         |

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

**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).

### comment