PARALLAX

win_whoami

Read the current Windows token and logon session

Collection: ansible.windows

Full Name: parallax.windows.win_whoami

Aliases: ansible.windows.win_whoami, win_whoami

Synopsis

Read the current Windows token and logon session

Parameters

This module takes no parameters.

Example

yaml
- name: Inspect current Windows user
  ansible.windows.win_whoami:
Search
    ↑ ↓ move↵ openesc close