Win32_TSLogonSetting, ROOT\CIMV2\TerminalServices

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

Description

The Win32_TSLogonSetting class allows configuring logon settings such as Username, Domain and PromptForPassword.

Win32_TSLogonSetting methods

Win32_TSLogonSetting has 2 methods (2 Local)

NameOriginReturn
ExplicitLogonWin32_TSLogonSettinguint32 {'out':True}
SetPromptForPasswordWin32_TSLogonSettinguint32 {'out':True}

Win32_TSLogonSetting properties

Win32_TSLogonSetting has 13 properties (7 Local, 6 Derived)

NameOriginCIMType
CaptionCIM_ManagedSystemElement8 [string]
ClientLogonInfoPolicyWin32_TSLogonSetting19 [uint32]
DescriptionCIM_ManagedSystemElement8 [string]
DomainWin32_TSLogonSetting8 [string]
InstallDateCIM_ManagedSystemElement101 [datetime]
NameCIM_ManagedSystemElement8 [string]
PolicySourceDomainWin32_TSLogonSetting19 [uint32]
PolicySourcePromptForPasswordWin32_TSLogonSetting19 [uint32]
PolicySourceUserNameWin32_TSLogonSetting19 [uint32]
PromptForPasswordWin32_TSLogonSetting19 [uint32]
StatusCIM_ManagedSystemElement8 [string]
key
TerminalName
Win32_TerminalSetting8 [string]
UserNameWin32_TSLogonSetting8 [string]

Detailed description of Win32_TSLogonSetting methods

Local methods (2) of Win32_TSLogonSetting class

ExplicitLogon method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
UserNamestring0-{'In':True}
Domainstring1-{'In':True}
Passwordstring2-{'In':True}
Description'Sets the properties UserName, Password and Domain which specify the credentials explicitly to be used for authentication. The call returns success in case of Server-Override mode and an error if the policy was set to User or Group.'
ImplementedTrue
ExplicitLogon method is in 1 class (Win32_TSLogonSetting) of ROOT\CIMV2\TerminalServices and in 2 namespaces
SetPromptForPassword method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
PromptForPassworduint320-{'In':True}
Description'Enables or Disables the PromptForPasword flag if it is not under group policy.'
ImplementedTrue
Values['FALSE', 'TRUE']
SetPromptForPassword method is in 1 class (Win32_TSLogonSetting) of ROOT\CIMV2\TerminalServices and in 2 namespaces

Detailed description of Win32_TSLogonSetting properties

Local properties (7) of Win32_TSLogonSetting class

ClientLogonInfoPolicy property
CIMTYPE'uint32'
Description'Describes which policy the server uses in order to determine the connection settings.'
readTrue
Values['Per User', 'Server-Override']
writeTrue
ClientLogonInfoPolicy property is in 1 class (Win32_TSLogonSetting) of ROOT\CIMV2\TerminalServices and in 2 namespaces
Domain property
CIMTYPE'string'
Description'Specifies the Domain name in which the user's computer resides.'
readTrue
Domain property is in 2 classes of ROOT\CIMV2\TerminalServices and in 142 namespaces
PolicySourceDomain property
CIMTYPE'uint32'
Description'PolicySourceDomain indicates whether the property Domain is configured by Server (0),Group Policy (1), Default (2).'
readTrue
PolicySourceDomain property is in 1 class (Win32_TSLogonSetting) of ROOT\CIMV2\TerminalServices and in 2 namespaces
PolicySourcePromptForPassword property
CIMTYPE'uint32'
Description'PolicySourcePromptForPassword indicates whether the property PromptForPassword is configured by Server (0),Group Policy (1), Default (2).'
readTrue
PolicySourcePromptForPassword property is in 1 class (Win32_TSLogonSetting) of ROOT\CIMV2\TerminalServices and in 2 namespaces
PolicySourceUserName property
CIMTYPE'uint32'
Description'PolicySourceUserName indicates whether the property UserName is configured by Server (0),Group Policy (1), Default (2).'
readTrue
PolicySourceUserName property is in 1 class (Win32_TSLogonSetting) of ROOT\CIMV2\TerminalServices and in 2 namespaces
PromptForPassword property
CIMTYPE'uint32'
Description'Specifies whether the user is always prompted for Password while logging on to the server.'
readTrue
Values['FALSE', 'TRUE']
PromptForPassword property is in 1 class (Win32_TSLogonSetting) of ROOT\CIMV2\TerminalServices and in 2 namespaces
UserName property
CIMTYPE'string'
Description'Specifies whether the User name are retrieved from the client.'
readTrue
UserName property is in 3 classes of ROOT\CIMV2\TerminalServices and in 33 namespaces

Derived properties (6) of Win32_TSLogonSetting class

Caption property
CIMTYPE'string'
MaxLen64
readTrue
Caption property is in 43 classes of ROOT\CIMV2\TerminalServices and in 37 namespaces
Description property
CIMTYPE'string'
readTrue
Description property is in 48 classes of ROOT\CIMV2\TerminalServices and in 142 namespaces
InstallDate property
CIMTYPE'datetime'
Mappingstrings['MIF.DMTF|ComponentID|001.5']
readTrue
InstallDate property is in 43 classes of ROOT\CIMV2\TerminalServices and in 23 namespaces
Name property
CIMTYPE'string'
readTrue
Name property is in 53 classes of ROOT\CIMV2\TerminalServices and in 142 namespaces
Status property
CIMTYPE'string'
MaxLen10
readTrue
ValueMap['OK', 'Error', 'Degraded', 'Unknown', 'Pred Fail', 'Starting', 'Stopping', 'Service']
Status property is in 43 classes of ROOT\CIMV2\TerminalServices and in 42 namespaces
TerminalName property
CIMTYPE'string'
Description'Name of the Terminal.'
keyTrue
readTrue
TerminalName property is in 13 classes of ROOT\CIMV2\TerminalServices and in 2 namespaces

Win32_TSLogonSetting Qualifiers

NameValueToInstanceToSubclassOverridableAmendedLocal
ClassContext'local|hkey_local_machine\SYSTEM\CurrentControlSet\Control\TerminalServer\WinStations'
Description'The Win32_TSLogonSetting class allows configuring logon settings such as Username, Domain and PromptForPassword.'
dynamicTrue
LOCALE1033
provider'Win32_WIN32_TSLOGONSETTING_Prov'

Win32_TSLogonSetting System properties

NameValueOriginCIMTypeLocalArray
__PATH'\\.\ROOT\CIMV2\TerminalServices:Win32_TSLogonSetting'___SYSTEM8
__NAMESPACE'ROOT\CIMV2\TerminalServices'___SYSTEM8
__SERVER'.'___SYSTEM8
__DERIVATION['Win32_TerminalSetting', 'CIM_Setting', 'CIM_ManagedSystemElement']___SYSTEM8
__PROPERTY_COUNT13___SYSTEM3
__RELPATH'Win32_TSLogonSetting'___SYSTEM8
__DYNASTY'CIM_ManagedSystemElement'___SYSTEM8
__SUPERCLASS'Win32_TerminalSetting'___SYSTEM8
__CLASS'Win32_TSLogonSetting'___SYSTEM8
__GENUS1___SYSTEM3

Similar Classes to Win32_TSLogonSetting

Number of classes:21
comments powered by Disqus
WUtils.com