DroneDeploy
Search…
User

User.get

Example Call
1
// Get the user object one time
2
dronedeployApi.User.get().then(function(user){ console.log(user) });
3
4
// Every time the user object changes the callback will be invoked.
5
dronedeployApi.User.get().subscribe(function(user){ console.log(user) });
Copied!
Example Response
1
{
2
"id": "5626a5fa31ff9a1d9fcb9205",
3
"firstName": "Daniel",
4
"lastName": "Rasmuson",
5
"maxAltitude": 152.4,
6
"organization": {
7
"color": null,
8
"logoUrl": "https://tiles_test.dronedeploy.com/images/thumb/0x0/drone-deploy-organization-logos/57e5786acb5fda4dffeb0884/1b3bd690-ba15-46a5-b516-deed142808db.png",
9
"isOwner": true,
10
"name": "Dan Org.",
11
"id": "57e5786acb5fda4dffeb0884"
12
},
13
"role": "precision-paid",
14
"units": "metric",
15
"email": "[email protected]"
16
}
Copied!
Copy link