In file useracc.h:

void usr_setclass

(char* userid, char* newclass, int permanent)

Change a user's class.

Documentation

Change a user's class.

Move a user to a new class.

Parameters:
- userid The canonical form of the user ID to operate on. You can use usr_exists() to render a user ID in its canonical form.
newclass - The name of an existing class to move the user to. Use cls_find() to make sure the class exists.
permanent - Set to zero if the change in class is temporary (i.e. only for today). Non-zero values denote a permanent change of class.

Alphabetic index



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