getNimiuser
getNimiuser is a function provided by the NimiSDK, a client library that interacts with the Nimi service. The function retrieves detailed information about a user in the Nimi system. It typically accepts a single argument, userId, which may be a string or integer that uniquely identifies the target user within the Nimi database. In some implementations, optional parameters such as includeDetails or fields can be passed to customize the returned data, allowing callers to request only specific attributes like name, email, or role.
When invoked, getNimiuser sends a GET request to the Nimi API endpoint /users/{userId}. The HTTP response is
The function is useful for authentication flows, profile displays or administrative dashboards where up‑to‑date user data