# SECURITY\_LOGON\_SESSION\_DATA

```csharp
public partial struct SECURITY_LOGON_SESSION_DATA
{
    public uint Size;
    public LUID LogonId;
    public LSA_UNICODE_STRING UserName;
    public LSA_UNICODE_STRING LogonDomain;
    public LSA_UNICODE_STRING AuthenticationPackage;
    public uint LogonType;
    public uint Session;
    public PSID Sid;
    public long LogonTime;
    public LSA_UNICODE_STRING LogonServer;
    public LSA_UNICODE_STRING DnsDomainName;
    public LSA_UNICODE_STRING Upn;
    public uint UserFlags;
    public LSA_LAST_INTER_LOGON_INFO LastLogonInfo;
    public LSA_UNICODE_STRING LogonScript;
    public LSA_UNICODE_STRING ProfilePath;
    public LSA_UNICODE_STRING HomeDirectory;
    public LSA_UNICODE_STRING HomeDirectoryDrive;
    public long LogoffTime;
    public long KickOffTime;
    public long PasswordLastSet;
    public long PasswordCanChange;
    public long PasswordMustChange;
}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://www.pinvoke.dev/authentication/security_logon_session_data.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
