In file security.h:

int hassysaxs

(useracc_t* user, int index)

Check if a user has a certain operator command.

Documentation

Check if a user has a certain operator command.

This function checks a user account record for the existence of a specified operator privilege or command.

Parameters:
- user Pointer to the account record of the user in question.
- index The number of the privilege or operator command in question. This is one of the USY_x constants.
Returns:
Zero if the user lacks the privilege or command, non-zero if they have it.

Alphabetic index



This page was generated with the help of DOC++.