Skip to content

GET_USER_STR

Jurek Muszyński edited this page May 13, 2019 · 2 revisions

int GET_USER_STR(const char *key, char *value)

Description

Retrieves user string setting from users_settings table.

Returns

Returns OK or one of the error codes:

  • ERR_NOT_FOUND
  • ERR_INT_SERVER_ERROR

Example

char page[64];
GET_USER_STR("last_page", page);

Notes

Requires USERS compilation switch.

Clone this wiki locally