Phantasmal MUD Lib for DGD

Phantasmal Site > Phantasmal API > API Listing > is_admin

API Function: is_admin

Summary:
get whether the user is an administrator

Defined In LPC Object:
/usr/System/obj/user.c

Prototype:
int is_admin(void)

Can Be Called By:
Anybody (for now)

Description:

Return whether the user is registered as an administrator.

Return Value:

1 if the user is an administrator, 0 otherwise.

Errors:
Normally none.

See Also:
get_name