> For the complete documentation index, see [llms.txt](https://tools.thehacker.recipes/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tools.thehacker.recipes/mimikatz/modules/net/session.md).

# session

`net::session` displays the active sessions through [NetSessionEnum()](https://web.archive.org/web/20201201223201/https://docs.microsoft.com/en-us/windows/win32/api/lmshare/nf-lmshare-netsessionenum) Win32 API function.

```
mimikatz # net::session

Client  : \\192.168.0.224
Username: DC$
Active  : 10
Idle    : 10

Client  : \\192.168.0.11
Username: m3g9tr0n
Active  : 68960
Idle    : 68960
```
