GetUserInformation
The GetUserInformation function is used to return information about a single user.
GET/Remote/GetUserInformation
REQUEST PARAMETERS
Parameter | Type | Description | Required |
---|---|---|---|
id | long | The ID of the user. |
EXAMPLE REQUEST
https://my.maplarge.com/Remote/GetUserInformation?mluser=user@domain.com&mltoken=token&id=8563
*Either a token or password can be used in any request where authentication is required.
RETURNS
{ "id": "83ad56db591b474e89279cd60e77a8f1", "hash": null, "success": true, "isCached": false, "authorized": true, "errors": [], "timestamp": 1420568624, "data": null, "user": { "id": 8563, "name": "testuser6316", "email": "testuser6316@test.com", "password": "i3FnZ38o8bhy51rR72lkB88GKVM=", "tags": [], "groupcount": 0, "groups": [ { "id": 8491, "name": "Test", "account": "(exampleAccount) exampleAccount" } ] } }
ACTION SPECIFIC RESPONSE PARAMETERS
Parameter | Type | Description |
---|---|---|
user | mixed[] | Array of user's meta data. |
user[].id | long | ID of the user. |
user[].name | string | Name of the user |
user[].email | string | Email of the user |
user[].tags[] | string | Tags associated with the user. |
user[].groups[] | mixed[] | Groups user is enrolled in. |
user[].groupcount | int | Number of groups user is enrolled in. |
group[].id | int | The ID of the group the user is enrolled in. |
group[].name | int | Name of the group the user is enrolled in. |
group[].account | int | Account that owns the group the user is enrolled in. |