getUserName
A MoogDb v2 method that returns the username for a user ID.
Back to MoogDb V2 API Method Reference.
Request arguments
Method getUserName takes the following request arguments:
Name | Type | Required | Description |
|---|---|---|---|
| Number | Yes | A valid user ID. |
Response
Method getUserName returns the following response:
Type | Description |
|---|---|
String | The corresponding username for the requested user ID. |