Core
Framework v2.x
2

getKuid #

Available since 2.11.0

Returns the current user kuid.

Arguments #

getKuid (): string | null

Example #

const kuid = request.getKuid();
// equivalent
const kuid = request.context.user._id;