Commit 43b9a89
authored
MOD-14124 - add getUserUserName api (#86)
<!-- CURSOR_SUMMARY -->
> [!NOTE]
> **Medium Risk**
> Introduces a new exported module API symbol and wires it into
`RedisModule_Init`, which can affect module ABI/API compatibility if
server-side support or version-gating is missing.
>
> **Overview**
> Adds a new Modules API function pointer,
`RedisModule_GetUserUsername(const RedisModuleUser *user)`, allowing
modules to obtain a username from a `RedisModuleUser`.
>
> Updates the `RedisModule_Init` API lookup table
(`REDISMODULE_GET_API(GetUserUsername)`) so the new symbol is resolved
at module load time.
>
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
e33fa74. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->1 parent 897b82a commit 43b9a89
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1380 | 1380 | | |
1381 | 1381 | | |
1382 | 1382 | | |
| 1383 | + | |
1383 | 1384 | | |
1384 | 1385 | | |
1385 | 1386 | | |
| |||
1780 | 1781 | | |
1781 | 1782 | | |
1782 | 1783 | | |
| 1784 | + | |
1783 | 1785 | | |
1784 | 1786 | | |
1785 | 1787 | | |
| |||
0 commit comments