Win32_UserAccount, ROOT\CIMV2

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

Description

The Win32_UserAccount class contains information about a user account on a Win32 system.

Win32_UserAccount methods

Win32_UserAccount has 1 methods (1 Local)

NameOriginReturn
RenameWin32_UserAccountuint32 {'out':True}

Win32_UserAccount properties

Win32_UserAccount has 16 properties (7 Local, 9 Derived)

NameOriginCIMType
AccountTypeWin32_UserAccount19 [uint32]
CaptionCIM_ManagedSystemElement8 [string]
DescriptionCIM_ManagedSystemElement8 [string]
DisabledWin32_UserAccount11 [boolean]
key
Domain
Win32_Account8 [string]
FullNameWin32_UserAccount8 [string]
InstallDateCIM_ManagedSystemElement101 [datetime]
LocalAccountWin32_Account11 [Boolean]
LockoutWin32_UserAccount11 [boolean]
key
Name
CIM_ManagedSystemElement8 [string]
PasswordChangeableWin32_UserAccount11 [boolean]
PasswordExpiresWin32_UserAccount11 [boolean]
PasswordRequiredWin32_UserAccount11 [boolean]
SIDWin32_Account8 [string]
SIDTypeWin32_Account17 [uint8]
StatusCIM_ManagedSystemElement8 [string]

Detailed description of Win32_UserAccount methods

Local methods (1) of Win32_UserAccount class

Rename method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
Namestring0-{'Description':'The Name property indicates the name of the Win32 user account on the domain specified by the Domain member of this class.Example: thomasw','In':True,'MappingStrings':['Win32API|Network Management Structures|name']}
Description'The Rename() allows for the renaming of the user account name; a key in this class. The functionality to change the key property "Name" is implemented as a method to provide a separate context for the new name distinguishable from the key name associated with the instance to be modified in this class.'
ImplementedTrue
MappingStrings['WMI']
Values['Success', 'Instance not found', 'Instance required', 'Invalid parameter', 'User not found', 'Domain not found', 'Operation is allowed only on the primary domain controller of the domain', 'Operation is not allowed on the last administrative account.', 'Operation is not allowed on specified special groups; user, admin, local or guest.', 'Other API error', 'Internal error']
Rename method is in 12 classes of ROOT\cimv2 and in 10 namespaces

Detailed description of Win32_UserAccount properties

Local properties (7) of Win32_UserAccount class

AccountType property
BitMap['8', '9', '11', '12', '13']
BitValues['Temporary duplicate account', 'Normal account', 'Interdomain trust account', 'Workstation trust account', 'Server trust account']
CIMTYPE'uint32'
Description'The AccountType property contains flags describing the characteristics of Win32 user account:
UF_TEMP_DUPLICATE_ACCOUNT - Local user account for users whose primary account is in another domain. This account provides user access to this domain, but not to any domain that trusts this domain.
UF_NORMAL_ACCOUNT - default account type that representing a typical user.
UF_INTERDOMAIN_TRUST_ACCOUNT - account is for a system domain that trusts other domains.
UF_WORKSTATION_TRUST_ACCOUNT - This is a computer account for a Windows NT/Windows 2000 machine that is a member of this domain.
UF_SERVER_TRUST_ACCOUNT - account is for a system backup domain controller that is a member of this domain.
'
MappingStrings['Win32API|Network Management Structures|USER_INFO_2|usri2_flags']
readTrue
AccountType property is in 1 class (Win32_UserAccount) of ROOT\cimv2 and in 2 namespaces
Disabled property
CIMTYPE'boolean'
Description'The Disabled property determines whether the Win32 user account is disabled.
Values: TRUE or FALSE. If TRUE, the user account is disabled.'
MappingStrings['Win32API|Network Management Structures|USER_INFO|UF_ACCOUNTDISABLE']
readTrue
writeTrue
Disabled property is in 1 class (Win32_UserAccount) of ROOT\cimv2 and in 5 namespaces
FullName property
CIMTYPE'string'
Description'The FullName property indicates the full name of the local user.
Example: Thomas Williams'
MappingStrings['Win32API|Network Management Structures|USER_INFO_2|usri2_full_name']
readTrue
writeTrue
FullName property is in 2 classes of ROOT\cimv2 and in 2 namespaces
Lockout property
CIMTYPE'boolean'
Description'The Lockout property determines whether the user account is locked out of the Win32 system.
Values: TRUE or FALSE. If TRUE, the user account is locked out.'
MappingStrings['Win32API|Network Management Structures|USER_INFO_2|UF_LOCKOUT']
readTrue
writeTrue
Lockout property is in 1 class (Win32_UserAccount) of ROOT\cimv2 and in 2 namespaces
PasswordChangeable property
CIMTYPE'boolean'
Description'The PasswordChangeable property determines whether the password on the Win32 user account can be changed.
Values: TRUE or FALSE. If TRUE, the password can be changed.'
MappingStrings['Win32API|Network Management Structures|USER_INFO_2|UF_PASSWD_CANT_CHANGE']
readTrue
writeTrue
PasswordChangeable property is in 1 class (Win32_UserAccount) of ROOT\cimv2 and in 2 namespaces
PasswordExpires property
CIMTYPE'boolean'
Description'The PasswordExpires property determines whether the password on the Win32 user account will expire.
Values: TRUE or FALSE. If TRUE, the password will expire.'
MappingStrings['Win32API|Network Management Structures|USER_INFO_2|UF_DONT_EXPIRE_PASSWD']
readTrue
writeTrue
PasswordExpires property is in 2 classes of ROOT\cimv2 and in 2 namespaces
PasswordRequired property
CIMTYPE'boolean'
Description'The PasswordRequired property determines whether a password is required on the Win32 user account.
Values: TRUE or FALSE. If TRUE, a password is required.'
MappingStrings['Win32API|Network Management Structures|USER_INFO_2|UF_PASSWD_NOTREQD']
readTrue
writeTrue
PasswordRequired property is in 1 class (Win32_UserAccount) of ROOT\cimv2 and in 2 namespaces

Derived properties (9) of Win32_UserAccount 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
Domain property
CIMTYPE'string'
Description'The Domain property indicates the name of the Windows domain to which the user account belongs.
Example: NA-SALES'
keyTrue
MappingStrings['Win32API|Network Management Functions|domainname']
Override'Domain'
readTrue
Domain property is in 8 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
LocalAccount property
CIMTYPE'Boolean'
Description'The LocalAccount property indicates whether the account is defined on the local machine. To retrieve only accounts defined on the local machine state a query that includes the condition 'LocalAccount=TRUE'.'
FixedTrue
LocalAccount property is in 4 classes of ROOT\cimv2 and in 2 namespaces
Name property
CIMTYPE'string'
Description'The Name property indicates the name of the Win32 user account on the domain specified by the Domain member of this class.
Example: thomasw'
keyTrue
MappingStrings['Win32API|Network Management Structures|name']
Override'Name'
readTrue
Name property is in 1046 classes of ROOT\cimv2 and in 142 namespaces
SID property
CIMTYPE'string'
Description'The SID property contains the security identifier (SID) for this account. a SID is a string value of variable length used to identify a trustee. Each account has a unique SID issued by an authority (such as a Windows domain), stored in a security database. When a user logs on, the system retrieves the user's SID from the database and places it in the user's access token. The system uses the SID in the user's access token to identify the user in all subsequent interactions with Windows security. When a SID has been used as the unique identifier for a user or group, it cannot be used again to identify another user or group.'
FixedTrue
MappingStrings['Win32API|Security Identifiers (SIDs)']
readTrue
SID property is in 18 classes of ROOT\cimv2 and in 142 namespaces
SIDType property
CIMTYPE'uint8'
Description'The SIDType property contains enumerated values that specify the type of security identifier (SID). SIDTypes include:
SidTypeUser - Indicates a user SID.
SidTypeGroup - Indicates a group SID.
SidTypeDomain - Indicates a domain SID.
SidTypeAlias - Indicates an alias SID.
SidTypeWellKnownGroup - Indicates a SID for a well-known group.
SidTypeDeletedAccount - Indicates a SID for a deleted account.
SidTypeInvalid - Indicates an invalid SID.
SidTypeUnknown - Indicates an unknown SID type.
SidTypeComputer - Indicates a SID for a computer.
'
FixedTrue
MappingStrings['Win32API|Access Control Enumeration Types|SID_NAME_USE']
readTrue
ValueMap['1', '2', '3', '4', '5', '6', '7', '8', '9']
Values['SidTypeUser', 'SidTypeGroup', 'SidTypeDomain', 'SidTypeAlias', 'SidTypeWellKnownGroup', 'SidTypeDeletedAccount', 'SidTypeInvalid', 'SidTypeUnknown', 'SidTypeComputer']
SIDType property is in 4 classes of ROOT\cimv2 and in 2 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_UserAccount Qualifiers

NameValueToInstanceToSubclassOverridableAmendedLocal
Description'The Win32_UserAccount class contains information about a user account on a Win32 system.'
dynamicTrue
Locale1033
provider'CIMWin32'
UUID'{8502C4CC-5FBB-11D2-AAC1-006008C78BC7}'

Win32_UserAccount System properties

NameValueOriginCIMTypeLocalArray
__PATH'\\.\ROOT\cimv2:Win32_UserAccount'___SYSTEM8
__NAMESPACE'ROOT\cimv2'___SYSTEM8
__SERVER'.'___SYSTEM8
__DERIVATION['Win32_Account', 'CIM_LogicalElement', 'CIM_ManagedSystemElement']___SYSTEM8
__PROPERTY_COUNT16___SYSTEM3
__RELPATH'Win32_UserAccount'___SYSTEM8
__DYNASTY'CIM_ManagedSystemElement'___SYSTEM8
__SUPERCLASS'Win32_Account'___SYSTEM8
__CLASS'Win32_UserAccount'___SYSTEM8
__GENUS1___SYSTEM3

Similar Classes to Win32_UserAccount

Number of classes:4
Class nameChildsPropertiesMethodsClass
Instances
Child
Instances
AbstractSingleton
MSFT_NetBadAccount020---
Win32_Account390-40-
Win32_AccountSID02040---
Win32_SystemAccount09025---
comments powered by Disqus
WUtils.com