|
Purpose |
Obtains the user's access level | |
|
Old name |
#define get_access trm_get_access | |
|
Syntax |
int trm_get_access(void); | |
|
Description |
The trm_get_access() function retrieves the user's access level as given in the file USERDATA.SYS. You do not need to include the file USERDATA.SYS to use this function. The write access is returned in the high-order byte and the read access in the low-order byte. If the function trm_read_user() has been called, you can directly read the read_access and write_access fields from the user record. | |
|
Return values |
Returns the access level | |
|
See also |
||
|
Example |
|