summaryrefslogtreecommitdiff
path: root/docs/account_access.md
blob: 9bfab7ec4f57a54797e2208cb2ffa749c9e07110 (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(10)      | unsigned   | PRI | NO   |         |       |         |
| [gmlevel][2] | tinyint(3)   | unsigned   |     | NO   |         |       |         |
| [RealmID][3] | int(11)      | 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