Win32_LogonSession, ROOT\CIMV2

Class | Methods | Properties (9) | Qualifiers (5) | Instances (24) | Namespaces (2)
Samples: VB Script | C# | VB.Net | Search on:Microsoft

Description

The Win32_LogonSession class describes the logon session or sessions associated with a user who has logged on to Windows NT or Windows 2000.

Win32_LogonSession properties

Win32_LogonSession has 9 properties (3 Local, 6 Derived)

NameOriginCIMType
AuthenticationPackageWin32_LogonSession8 [String]
CaptionCIM_ManagedSystemElement8 [string]
DescriptionCIM_ManagedSystemElement8 [string]
InstallDateCIM_ManagedSystemElement101 [datetime]
key
LogonId
Win32_LogonSession8 [String]
LogonTypeWin32_LogonSession19 [uint32]
NameCIM_ManagedSystemElement8 [string]
StartTimeWin32_Session101 [DateTime]
StatusCIM_ManagedSystemElement8 [string]

Detailed description of Win32_LogonSession properties

Local properties (3) of Win32_LogonSession class

AuthenticationPackage property
CIMTYPE'String'
Description'The AuthenticationPackage is the name of the subsystem used to authenticate the logon session. '
AuthenticationPackage property is in 1 class (Win32_LogonSession) of ROOT\cimv2 and in 2 namespaces
LogonId property
CIMTYPE'String'
Description'The LogonId is the ID assigned to the logon session. The application that initiated the session should have called AllocateLocallyUniqueId in order to generate this ID. '
keyTrue
LogonId property is in 1 class (Win32_LogonSession) of ROOT\cimv2 and in 2 namespaces
LogonType property
CIMTYPE'uint32'
Description'The LogonType is a numeric value indicating what type of logon session this is.
System - Interactive - This logon type is intended for users who will be interactively using the machine, such as a user being logged on by a terminal server, remote shell, or similar process.
Network - This logon type is intended for high performance servers to authenticate clear text passwords. LogonUser does not cache credentials for this logon type.
Batch - This logon type is intended for batch servers, where processes may be executing on behalf of a user without their direct intervention; or for higher performance servers that process many clear-text authentication attempts at a time, such as mail or web servers. LogonUser does not cache credentials for this logon type.
Service - Indicates a service-type logon. The account provided must have the service privilege enabled.
Proxy - Proxy logon. This logon type is not supported.
Unlock - This logon type is intended for GINA DLLs logging on users who will be interactively using the machine. This logon type allows a unique audit record to be generated that shows when the workstation was unlocked.
Network Cleartext - Windows 2000: This logon type preserves the name and password in the authentication packages, allowing the server to make connections to other network servers while impersonating the client. This allows a server to accept clear text credentials from a client, call LogonUser, verify that the user can access the system across the network, and still communicate with other servers.
New Credentials - Windows 2000: This logon type allows the caller to clone its current token and specify new credentials for outbound connections. The new logon session has the same local identify, but uses different credentials for other network connections.
'
ValueMap['2', '3', '4', '5', '7', '8', '9']
Values['Interactive', 'Network', 'Batch', 'Service', 'Unlock', 'NetworkCleartext', 'NewCredentials']
LogonType property is in 1 class (Win32_LogonSession) of ROOT\cimv2 and in 6 namespaces

Derived properties (6) of Win32_LogonSession class

Caption property
CIMTYPE'string'
Description'The Caption property is a short textual description (one-line string) of the object.'
MaxLen64
readTrue
Caption property is in 1050 classes of ROOT\cimv2 and in 37 namespaces
Description property
CIMTYPE'string'
Description'The Description property provides a textual description of the object. '
readTrue
Description property is in 1061 classes of ROOT\cimv2 and in 142 namespaces
InstallDate property
CIMTYPE'datetime'
Description'The InstallDate property is datetime value indicating when the object was installed. A lack of a value does not indicate that the object is not installed.'
MappingStrings['MIF.DMTF|ComponentID|001.5']
readTrue
InstallDate property is in 227 classes of ROOT\cimv2 and in 23 namespaces
Name property
CIMTYPE'string'
Description'The Name property defines the label by which the object is known. When subclassed, the Name property can be overridden to be a Key property.'
readTrue
Name property is in 1046 classes of ROOT\cimv2 and in 142 namespaces
StartTime property
CIMTYPE'DateTime'
Description'The StartTime property represents the time at which the session started.'
StartTime property is in 6 classes of ROOT\cimv2 and in 24 namespaces
Status property
CIMTYPE'string'
Description'The Status property is a string indicating the current status of the object. Various operational and non-operational statuses can be defined. Operational statuses are "OK", "Degraded" and "Pred Fail". "Pred Fail" indicates that an element may be functioning properly but predicting a failure in the near future. An example is a SMART-enabled hard drive. Non-operational statuses can also be specified. These are "Error", "Starting", "Stopping" and "Service". The latter, "Service", could apply during mirror-resilvering of a disk, reload of a user permissions list, or other administrative work. Not all such work is on-line, yet the managed element is neither "OK" nor in one of the other states.'
MaxLen10
readTrue
ValueMap['OK', 'Error', 'Degraded', 'Unknown', 'Pred Fail', 'Starting', 'Stopping', 'Service', 'Stressed', 'NonRecover', 'No Contact', 'Lost Comm']
Values['OK', 'Error', 'Degraded', 'Unknown', 'Pred Fail', 'Starting', 'Stopping', 'Service', 'Stressed', 'NonRecover', 'No Contact', 'Lost Comm']
Status property is in 230 classes of ROOT\cimv2 and in 42 namespaces

Win32_LogonSession Qualifiers

NameValueToInstanceToSubclassOverridableAmendedLocal
Description'The Win32_LogonSession class describes the logon session or sessions associated with a user who has logged on to Windows NT or Windows 2000.'
dynamicTrue
Locale1033
provider'CIMWin32'
UUID'{9083C21E-7D58-4e0e-BC30-0BC8922AFB8B}'

Win32_LogonSession System properties

NameValueOriginCIMTypeLocalArray
__PATH'\\.\ROOT\cimv2:Win32_LogonSession'___SYSTEM8
__NAMESPACE'ROOT\cimv2'___SYSTEM8
__SERVER'.'___SYSTEM8
__DERIVATION['Win32_Session', 'CIM_LogicalElement', 'CIM_ManagedSystemElement']___SYSTEM8
__PROPERTY_COUNT9___SYSTEM3
__RELPATH'Win32_LogonSession'___SYSTEM8
__DYNASTY'CIM_ManagedSystemElement'___SYSTEM8
__SUPERCLASS'Win32_Session'___SYSTEM8
__CLASS'Win32_LogonSession'___SYSTEM8
__GENUS1___SYSTEM3

Similar Classes to Win32_LogonSession

Number of classes:38
Class nameChildsPropertiesMethodsClass
Instances
Child
Instances
AbstractSingleton
Win32_LogonSessionMappedDisk0201---
Win32_PerfFormattedData_Counters_EventTracingforWindowsSession014024---
Win32_PerfFormattedData_Counters_IPHTTPSSession0160----
Win32_PerfFormattedData_Counters_ServerforNFSSessionAndConnectionStatistics03301--
Win32_PerfFormattedData_Counters_SMBServerSessions0450----
Win32_PerfFormattedData_LocalSessionManager_TerminalServices01201--
Win32_PerfFormattedData_msmq_MSMQIncomingMulticastSession0130----
Win32_PerfFormattedData_msmq_MSMQOutgoingHTTPSession0130----
Win32_PerfFormattedData_msmq_MSMQOutgoingMulticastSession0130----
Win32_PerfFormattedData_msmq_MSMQSession0170----
Win32_PerfFormattedData_TermService_TerminalServicesSession02402---
Win32_PerfRawData_Counters_EventTracingforWindowsSession014024---
Win32_PerfRawData_Counters_IPHTTPSSession0160----
Win32_PerfRawData_Counters_ServerforNFSSessionAndConnectionStatistics03301--
Win32_PerfRawData_Counters_SMBServerSessions0540----
Win32_PerfRawData_LocalSessionManager_TerminalServices01201--
Win32_PerfRawData_msmq_MSMQIncomingMulticastSession0130----
Win32_PerfRawData_msmq_MSMQOutgoingHTTPSession0130----
Win32_PerfRawData_msmq_MSMQOutgoingMulticastSession0130----
Win32_PerfRawData_msmq_MSMQSession0170----
Win32_PerfRawData_TermService_TerminalServicesSession02402---
Win32_ServerSession0130----
Win32_Session160-24-
Win32_SessionBrokerEnvironment040----
Win32_SessionBrokerFarm020----
Win32_SessionBrokerServiceProperties0241--
Win32_SessionBrokerTarget050----
Win32_SessionBrokerTargetEvent080---
Win32_SessionConnection020----
Win32_SessionDirectoryCluster030----
Win32_SessionDirectoryServer080----
Win32_SessionDirectorySession0130----
Win32_SessionDirectorySessionEx0210----
Win32_SessionDirectoryVirtualDesktopServer010----
Win32_SessionDirectoryVMMPlugin068----
Win32_SessionProcess02014---
Win32_SessionResource120-13-
Win32_SubSession020---
comments powered by Disqus
WUtils.com