Skip to content

Session Infos

Finalspace edited this page May 29, 2026 · 1 revision

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

Functions

Type Name
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 information, 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

Direction Parameter Description
[out] nameBuffer The target character buffer.
[in] maxNameBufferLen The max length of the target character buffer.

Returns: Returns the number of required/written characters, excluding the null-terminator

See also: Get current username

Final Platform Layer

Pages

Topics

Data Structures

Clone this wiki locally