---
title: LogonSessionWindows type | Wartiva GraphQL API
description: MS Windows O/S specific logon session information. Wartiva GraphQL API reference with arguments, fields, and examples.
url: https://wartiva.com/api-docs/types/logon-session-windows.html
updated: 2026-10-07
---

Endpoint configuration · GraphQL type

# `LogonSessionWindows` type

MS Windows O/S specific logon session information.

## Fields

| Field Name | Description |
|---|---|
| `logonId` - [`Luid!`](https://wartiva.com/api-docs/types/luid.html) | A locally unique identifier (LUID) that identifies a logon session. |
| `logonDomain` - [`String!`](https://wartiva.com/api-docs/types/string.html) | The name of the domain used to authenticate the owner of the logon session. |
| `authenticationPackage` - [`String!`](https://wartiva.com/api-docs/types/string.html) | The name of the authentication package used to authenticate the owner of the logon session. |
| `logonType` - [`WindowsLogonType`](https://wartiva.com/api-docs/types/windows-logon-type.html) | How the session was established, such as interactive, network, or remote interactive. See [WindowsLogonType](https://wartiva.com/api-docs/types/windows-logon-type.html). |
| `logonSid` - [`String!`](https://wartiva.com/api-docs/types/string.html) | Security identifier (SID) of the user logged in, a variable-length string that uniquely identifies users or groups in the MS Windows O/S. |
| `logonServer` - [`String!`](https://wartiva.com/api-docs/types/string.html) | The name of the server used to authenticate the owner of the logon session. |
| `dnsDomainName` - [`String!`](https://wartiva.com/api-docs/types/string.html) | Contains the DNS name for the owner of the logon session. |
| `logonScript` - [`String!`](https://wartiva.com/api-docs/types/string.html) | The script used for logging on. |
| `profilePath` - [`String!`](https://wartiva.com/api-docs/types/string.html) | Contains the path to the user's profile. |
| `homeDirectory` - [`String!`](https://wartiva.com/api-docs/types/string.html) | The home directory for the logon session. |
| `homeDirectoryDrive` - [`String!`](https://wartiva.com/api-docs/types/string.html) | Drive location of the home directory of the logon session. |

## Used by

- [`LogonSession`](https://wartiva.com/api-docs/types/logon-session.html) type: A user logon session observed on an Endpoint, identified by the username and the time the session started.
- [`LogonSessionOsSpecific`](https://wartiva.com/api-docs/types/logon-session-os-specific.html) union: OS-specific logon session union type.

## Example

### Example

```json
{
  "logonId": "999",
  "logonDomain": "abc123",
  "authenticationPackage": "xyz789",
  "logonType": "UNDEFINED",
  "logonSid": "abc123",
  "logonServer": "xyz789",
  "dnsDomainName": "xyz789",
  "logonScript": "xyz789",
  "profilePath": "abc123",
  "homeDirectory": "xyz789",
  "homeDirectoryDrive": "xyz789"
}

```

---

Wartiva is in early access. Request access: https://wartiva.com/early-access.html  
All pages: https://wartiva.com/llms.txt
