| BindIdentity | Binds an admin to an identity for fast lookup later on. The bind must be unique. |
| CanTarget | Tests whether one admin can target another.
The heuristics for this check are as follows:
0. If the targeting AdminId is INVALID_ADMIN_ID, targeting fails.
1. If the targeted AdminId is INVALID_ADMIN_ID, targeting succeeds.
2. If the targeted AdminId is the same as the targeting AdminId,
(self) targeting succeeds.
3. If the targeting admin is root, targeting succeeds.
4. If the targeted admin has access higher (as interpreted by
(sm_immunity_mode) than the targeting admin, then targeting fails.
5. If the targeted admin has specific immunity from the
targeting admin via group immunities, targeting fails.
6. Targeting succeeds. |
| GetFlags | Returns the bitstring of access flags on an admin. |
| GetGroup | Returns group information from an admin. |
| GetPassword | Gets an admin's password. |
| GetUsername | Retrieves an admin's user name as made with CreateAdmin(). |
| HasFlag | Returns whether or not a flag is enabled on an admin. |
| InheritGroup | Adds a group to an admin's inherited group list. Any flags the group has
will be added to the admin's effective flags. |
| SetBitFlags | Sets multiple bitwise flags to be enabled/disabled on an admin. |
| SetFlag | Sets whether or not a flag is enabled on an admin. |
| SetPassword | Sets a password on an admin. |