Final Platform Layer 0.9.8-beta
Loading...
Searching...
No Matches
Functions
Session Infos

This category contains functions for retrieving current session informations, such as username, etc. More...

Functions

fpl_platform_api size_t fplSessionGetUsername (char *nameBuffer, const size_t maxNameBufferLen)
 Gets the username of the current logged-in user from the session.
 

Detailed Description

This category contains functions for retrieving current session informations, such as username, etc.

Function Documentation

◆ fplSessionGetUsername()

fpl_platform_api size_t fplSessionGetUsername ( char *  nameBuffer,
const size_t  maxNameBufferLen 
)

Gets the username of the current logged-in user from the session.

Parameters
nameBufferThe target buffer
maxNameBufferLenThe max length of the target buffer
Returns
Returns the number of required/written characters, excluding the null-terminator
See also
Get current username