Win32_TSAccount, ROOT\CIMV2\TerminalServices

Class | Methods (3) | Properties (12) | Qualifiers (6) | Instances (11) | Namespaces (2)
Samples: VB Script | C# | VB.Net | Search on:Microsoft

Description

The Win32_TSAccount class allows deleting an existing account on the Win32_Terminal class and Modify exisiting Permissions

Win32_TSAccount methods

Win32_TSAccount has 3 methods (3 Local)

NameOriginReturn
DeleteWin32_TSAccountuint32 {'out':True}
ModifyAuditPermissionsWin32_TSAccountuint32 {'out':True}
ModifyPermissionsWin32_TSAccountuint32 {'out':True}

Win32_TSAccount properties

Win32_TSAccount has 12 properties (6 Local, 6 Derived)

NameOriginCIMType
key
AccountName
Win32_TSAccount8 [string]
AuditFailWin32_TSAccount19 [uint32]
AuditSuccessWin32_TSAccount19 [uint32]
CaptionCIM_ManagedSystemElement8 [string]
DescriptionCIM_ManagedSystemElement8 [string]
InstallDateCIM_ManagedSystemElement101 [datetime]
NameCIM_ManagedSystemElement8 [string]
PermissionsAllowedWin32_TSAccount19 [uint32]
PermissionsDeniedWin32_TSAccount19 [uint32]
SIDWin32_TSAccount8 [string]
StatusCIM_ManagedSystemElement8 [string]
key
TerminalName
Win32_TerminalSetting8 [string]

Detailed description of Win32_TSAccount methods

Local methods (3) of Win32_TSAccount class

Delete method
Returnuint32 {'out':True}
Description'Deletes the User or Group from the existing.'
ImplementedTrue
Delete method is in 5 classes of ROOT\CIMV2\TerminalServices and in 11 namespaces
ModifyAuditPermissions method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
PermissionMaskuint320-{'In':True}
Successboolean1-{'In':True}
Description'Provides for setting a more granular set of auditing permissions to the existing account specified.The permissions are set individually through PermissionMask.The PermissionMask is an enumeration of the following values:WINSTATION_QUERY=0, WINSTATION_SET=1, WINSTATION_LOGOFF=2, WINSTATION_VIRTUAL | STANDARD_RIGHTS_REQUIRED=3, WINSTATION_SHADOW=4,WINSTATION_LOGON=5, WINSTATION_MSG=7, WINSTATION_CONNECT=8,WINSTATION_DISCONNECT=9'
ImplementedTrue
ModifyAuditPermissions method is in 1 class (Win32_TSAccount) of ROOT\CIMV2\TerminalServices and in 2 namespaces
ModifyPermissions method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
PermissionMaskuint320-{'In':True}
Allowboolean1-{'In':True}
Description'The method enables setting a more granular set of permissions to the existing account. The flag, Allowspecifies if Permissions is to be allowed or denied.The permissions are set individually through PermissionMask.The PermissionMask is an enumeration of the following values:WINSTATION_QUERY, WINSTATION_SET, WINSTATION_LOGOFF, WINSTATION_VIRTUAL | STANDARD_RIGHTS_REQUIRED, WINSTATION_SHADOW,WINSTATION_LOGON, WINSTATION_MSG, WINSTATION_CONNECT,WINSTATION_DISCONNECT'
ImplementedTrue
ModifyPermissions method is in 1 class (Win32_TSAccount) of ROOT\CIMV2\TerminalServices and in 2 namespaces

Detailed description of Win32_TSAccount properties

Local properties (6) of Win32_TSAccount class

AccountName property
CIMTYPE'string'
Description'Specifies the AccountName that comprises of both: Domain and Name of the entry.'
keyTrue
readTrue
AccountName property is in 1 class (Win32_TSAccount) of ROOT\CIMV2\TerminalServices and in 12 namespaces
AuditFail property
CIMTYPE'uint32'
Description'Specifies the Audit Permissions for failure. The permissions are a combination of one or more of the following:WINSTATION_QUERY, WINSTATION_SET, WINSTATION_VIRTUAL | STANDARD_RIGHTS_REQUIRED, WINSTATION_SHADOW,WINSTATION_LOGON, WINSTATION_LOGOFF, WINSTATION_MSG, WINSTATION_CONNECT, WINSTATION_DISCONNECT.'
readTrue
Values['WINSTATION_QUERY=0x1', 'WINSTATION_SET=0x2', 'WINSTATION_LOGOFF=0x4', 'WINSTATION_VIRTUAL | STANDARD_RIGHTS_REQUIRED = 0xF008', 'WINSTATION_SHADOW=0x10', 'WINSTATION_LOGON=0x20', 'WINSTATION_MSG=0x80', 'WINSTATION_CONNECT=0x100', 'WINSTATION_DISCONNECT=0x200']
AuditFail property is in 1 class (Win32_TSAccount) of ROOT\CIMV2\TerminalServices and in 2 namespaces
AuditSuccess property
CIMTYPE'uint32'
Description'Specifies the Audit Permissions for success. The permissions are a combination of one or more of the following:WINSTATION_QUERY, WINSTATION_SET, WINSTATION_VIRTUAL | STANDARD_RIGHTS_REQUIRED, WINSTATION_SHADOW,WINSTATION_LOGON, WINSTATION_LOGOFF, WINSTATION_MSG, WINSTATION_CONNECT, WINSTATION_DISCONNECT.'
readTrue
Values['WINSTATION_QUERY=0x1', 'WINSTATION_SET=0x2', 'WINSTATION_LOGOFF=0x4WINSTATION_VIRTUAL | STANDARD_RIGHTS_REQUIRED = 0xF008', 'WINSTATION_SHADOW=0x10', 'WINSTATION_LOGON=0x20', 'WINSTATION_MSG=0x80', 'WINSTATION_CONNECT=0x100', 'WINSTATION_DISCONNECT=0x200']
AuditSuccess property is in 1 class (Win32_TSAccount) of ROOT\CIMV2\TerminalServices and in 2 namespaces
PermissionsAllowed property
CIMTYPE'uint32'
Description'Specifies the Permissions that are allowed. The permissions are a combination of one or more of the following:WINSTATION_QUERY, WINSTATION_SET, WINSTATION_VIRTUAL | STANDARD_RIGHTS_REQUIRED, WINSTATION_SHADOW,WINSTATION_LOGON, WINSTATION_LOGOFF, WINSTATION_MSG, WINSTATION_CONNECT,WINSTATION_DISCONNECT.'
readTrue
Values['WINSTATION_QUERY=0x1', 'WINSTATION_SET=0x2', 'WINSTATION_LOGOFF=0x4', 'WINSTATION_VIRTUAL | STANDARD_RIGHTS_REQUIRED = 0xF008', 'WINSTATION_SHADOW=0x10', 'WINSTATION_LOGON=0x20', 'WINSTATION_MSG=0x80', 'WINSTATION_CONNECT=0x100', 'WINSTATION_DISCONNECT=0x200']
PermissionsAllowed property is in 1 class (Win32_TSAccount) of ROOT\CIMV2\TerminalServices and in 2 namespaces
PermissionsDenied property
CIMTYPE'uint32'
Description'Specifies the Permissions that to be allowed. The permissions are a combination of one ore more of the following:WINSTATION_QUERY, WINSTATION_SET, WINSTATION_VIRTUAL | STANDARD_RIGHTS_REQUIRED, WINSTATION_SHADOW,WINSTATION_LOGON, WINSTATION_LOGOFF, WINSTATION_MSG, WINSTATION_CONNECT, WINSTATION_DISCONNECT.'
readTrue
Values['WINSTATION_QUERY=0x1', 'WINSTATION_SET=0x2', 'WINSTATION_LOGOFF=0x4', 'WINSTATION_VIRTUAL | STANDARD_RIGHTS_REQUIRED = 0xF008', 'WINSTATION_SHADOW=0x10', 'WINSTATION_LOGON=0x20', 'WINSTATION_MSG=0x80', 'WINSTATION_CONNECT=0x100', 'WINSTATION_DISCONNECT=0x200']
PermissionsDenied property is in 1 class (Win32_TSAccount) of ROOT\CIMV2\TerminalServices and in 2 namespaces
SID property
CIMTYPE'string'
Description'Specifies the Security Identifier of the entry.'
readTrue
SID property is in 2 classes of ROOT\CIMV2\TerminalServices and in 142 namespaces

Derived properties (6) of Win32_TSAccount 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_TSAccount Qualifiers

NameValueToInstanceToSubclassOverridableAmendedLocal
ClassContext'local|hkey_local_machine\SYSTEM\CurrentControlSet\Control\TerminalServer\WinStations'
Description'The Win32_TSAccount class allows deleting an existing account on the Win32_Terminal class and Modify exisiting Permissions '
dynamicTrue
LOCALE1033
overwriteTrue
provider'Win32_WIN32_TSACCOUNT_Prov'

Win32_TSAccount System properties

NameValueOriginCIMTypeLocalArray
__PATH'\\.\ROOT\CIMV2\TerminalServices:Win32_TSAccount'___SYSTEM8
__NAMESPACE'ROOT\CIMV2\TerminalServices'___SYSTEM8
__SERVER'.'___SYSTEM8
__DERIVATION['Win32_TerminalSetting', 'CIM_Setting', 'CIM_ManagedSystemElement']___SYSTEM8
__PROPERTY_COUNT12___SYSTEM3
__RELPATH'Win32_TSAccount'___SYSTEM8
__DYNASTY'CIM_ManagedSystemElement'___SYSTEM8
__SUPERCLASS'Win32_TerminalSetting'___SYSTEM8
__CLASS'Win32_TSAccount'___SYSTEM8
__GENUS1___SYSTEM3
comments powered by Disqus
WUtils.com