- WMI Library -
WMI Libraly > Win32_LoggedOnUser Class

Win32_LoggedOnUser Class

The Win32_LoggedOnUser association represents the relationship between a session and the user account using that session. Although the association will usually be one to one - users are possible that involve more than one session. At the termination of the session the association instance is deleted.
Namespace value is root/CIMV2.
WMI Provider value is CIMWin32.


Properties

  • Antecedent
  • The Antecedent reference is the Account used in the initiation of this session. The account could be either a user account or a system account.

  • Dependent
  • The Dependent reference is the session that the account is currently using.


    Methods

    Method not found.

    Example WQL

    SELECT * FROM Win32_LoggedOnUser
    About this site information

    This contents is created by WMI having class information.
    WMI Environment is Windows Server 2008 R2 Enterprise Edition.

    This link is Microsoft documents for "Managing Windows with WMI".
    That is VB(Visual Basic) scripting sample.
    This link is Microsoft documents for "Advanced Programming Topics in WMI .NET".
    That is VB.net(Visual Basic .net) scripting sample.

    - WMI Library -
    http://library.wmifun.net/

    WMI useful by VB,VB.Net,VC,VC.Net,VC#.Net,VBS(WSH),PowerShell for PC asset management, system monitoring and collecting hardware and software inventory.

    This website is created by Toh.
    Copyright(C) 1997-2016 WMI Fun !!. All rights reserved.
    ^ Go to the top...