Function GetUserInfo()

Returns an object with user information

Erik avatar
Written by Erik
Updated over a week ago

GetUserInfo(mapslyUserId) returns an object with information about a specified user.

Use this function to retrieve information about a given user.

Input

mapslyUserId: ID of a user for whom you want to retrieve information.

Output

An object containing the following information about the specified user:

{
"id": 1
"mapslyUserName":"John Doe",
"mapslyUserEmail":"[email protected]",
"mapslyUserProfile":"Administrator",
"latitude":40.16895511657,
"longitude":44.517397675705,
"lastConnectedAt":"2024-01-31T07:20:31+00:00",
"lastLocationAt":"2023-08-21T14:03:37+00:00",
"customData":NULL,
}
Did this answer your question?