mirror of
https://github.com/MicrosoftDocs/windows-itpro-docs.git
synced 2025-06-23 14:23:38 +00:00
machine finish
This commit is contained in:
@ -18,11 +18,19 @@ ms.topic: article
|
||||
|
||||
# Get machine log on users API
|
||||
|
||||
**Applies to:**
|
||||
**Applies to:** [Microsoft Defender Advanced Threat Protection (Microsoft Defender ATP)](https://go.microsoft.com/fwlink/p/?linkid=2069559)
|
||||
|
||||
- [Microsoft Defender Advanced Threat Protection (Microsoft Defender ATP)](https://go.microsoft.com/fwlink/p/?linkid=2069559)
|
||||
- Want to experience Microsoft Defender ATP? [Sign up for a free trial.](https://www.microsoft.com/microsoft-365/windows/microsoft-defender-atp?ocid=docs-wdatp-exposedapis-abovefoldlink)
|
||||
|
||||
|
||||
## API description
|
||||
Retrieves a collection of logged on users on a specific machine.
|
||||
|
||||
|
||||
## Limitations
|
||||
1. You can query on machines last seen in the past 30 days.
|
||||
2. Rate limitations for this API are 100 calls per minute and 1500 calls per hour.
|
||||
|
||||
Retrieves a collection of logged on users.
|
||||
|
||||
## Permissions
|
||||
One of the following permissions is required to call this API. To learn more, including how to choose permissions, see [Use Microsoft Defender ATP APIs](apis-intro.md)
|
||||
@ -81,26 +89,19 @@ Content-type: application/json
|
||||
"value": [
|
||||
{
|
||||
"id": "contoso\\user1",
|
||||
"firstSeen": "2018-08-02T00:00:00Z",
|
||||
"lastSeen": "2018-08-04T00:00:00Z",
|
||||
"mostPrevalentMachineId": null,
|
||||
"leastPrevalentMachineId": null,
|
||||
"logonTypes": "Network",
|
||||
"logOnMachinesCount": 3,
|
||||
"isDomainAdmin": false,
|
||||
"isOnlyNetworkUser": null
|
||||
"accountName": "user1",
|
||||
"accountDomain": "contoso",
|
||||
"accountSid": "S-1-5-21-72051607-1745760036-109187956-93922",
|
||||
"firstSeen": "2019-12-18T08:02:54Z",
|
||||
"lastSeen": "2020-01-06T08:01:48Z",
|
||||
"mostPrevalentMachineId": "111153d0c675eaa415b8e5f383c6388bff446c62",
|
||||
"leastPrevalentMachineId": "111153d0c675eaa415b8e5f383c6388bff446c62",
|
||||
"logonTypes": "Interactive",
|
||||
"logOnMachinesCount": 8,
|
||||
"isDomainAdmin": true,
|
||||
"isOnlyNetworkUser": false
|
||||
},
|
||||
{
|
||||
"id": "contoso\\user2",
|
||||
"firstSeen": "2018-08-02T00:00:00Z",
|
||||
"lastSeen": "2018-08-05T00:00:00Z",
|
||||
"mostPrevalentMachineId": null,
|
||||
"leastPrevalentMachineId": null,
|
||||
"logonTypes": "Network",
|
||||
"logOnMachinesCount": 3,
|
||||
"isDomainAdmin": false,
|
||||
"isOnlyNetworkUser": null
|
||||
}
|
||||
...
|
||||
]
|
||||
}
|
||||
```
|
||||
|
Reference in New Issue
Block a user