Win32_UserProfile, ROOT\CIMV2\ms_409

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

Description

The Win32_UserProfile class contains information about user profiles on a Windows system.

Win32_UserProfile methods

Win32_UserProfile has 1 methods (1 Local)

NameOriginReturn
ChangeOwnerWin32_UserProfileuint32 {'out':True}

Win32_UserProfile properties

Win32_UserProfile has 12 properties (12 Local)

NameOriginCIMType
LastDownloadTimeWin32_UserProfile101 [DATETIME]
LastUploadTimeWin32_UserProfile101 [DATETIME]
LastUseTimeWin32_UserProfile101 [DATETIME]
LoadedWin32_UserProfile11 [boolean]
LocalPathWin32_UserProfile8 [string]
RefCountWin32_UserProfile19 [uint32]
RoamingConfiguredWin32_UserProfile11 [boolean]
RoamingPathWin32_UserProfile8 [string]
RoamingPreferenceWin32_UserProfile11 [boolean]
key
SID
Win32_UserProfile8 [string]
SpecialWin32_UserProfile11 [boolean]
StatusWin32_UserProfile19 [uint32]

Detailed description of Win32_UserProfile methods

Local methods (1) of Win32_UserProfile class

▲ ChangeOwner method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
NewOwnerSIDstring0✓-{'Description':'The new owner's SID.','In':True}
Flagsuint321✓-{'Description':'May be one or more of the following:0x00000001 - If the new owner already has a profile, calling this method with this flag will replace the existing profile. If the new owner already has a profile, calling this method without this flag will fail and return HRESULT_FROM_WIN32(ERROR_ALREADY_EXISTS). 0x00000002 - If the new owner already has a profile, and ReplaceNewOwnerProfile is specified, then specify this flag will delete the replaced profile. Without this flag, the replaced profile is left alone, no user will use that profile automatically, it will not be enumerated either. If ReplaceNewOwnerProfile is not specified, this flag will have no effect.','In':True}
Description'Change a user profile's owner to another user, the result value is HRESULT'
ChangeOwner method is in 1 class (Win32_UserProfile) of ROOT\CIMV2\ms_409 and in 2 namespaces

Detailed description of Win32_UserProfile properties

Local properties (12) of Win32_UserProfile class

▲ LastDownloadTime property
CIMTYPE'DATETIME'
Description'This property indicates when a roaming profile was downloaded from server last time.'
LastDownloadTime property is in 1 class (Win32_UserProfile) of ROOT\CIMV2\ms_409 and in 2 namespaces
▲ LastUploadTime property
CIMTYPE'DATETIME'
Description'This property indicates when a roaming profile was uploaded to server last time.'
LastUploadTime property is in 1 class (Win32_UserProfile) of ROOT\CIMV2\ms_409 and in 2 namespaces
▲ LastUseTime property
CIMTYPE'DATETIME'
Description'This property indicates when this profile is used last time.'
LastUseTime property is in 1 class (Win32_UserProfile) of ROOT\CIMV2\ms_409 and in 2 namespaces
▲ Loaded property
CIMTYPE'boolean'
Description'This property indicates whether this profile is loaded.'
Loaded property is in 1 class (Win32_UserProfile) of ROOT\CIMV2\ms_409 and in 2 namespaces
▲ LocalPath property
CIMTYPE'string'
Description'This property contains the user profile's path on the local computer.'
LocalPath property is in 1 class (Win32_UserProfile) of ROOT\CIMV2\ms_409 and in 3 namespaces
▲ RefCount property
CIMTYPE'uint32'
Description'This property indicates the ref count of the profile. If the profile is loaded, the ref count is at least 1.
Higher values indicates there are more than one applications or services has loaded the profile and using it.
'
RefCount property is in 1 class (Win32_UserProfile) of ROOT\CIMV2\ms_409 and in 4 namespaces
▲ RoamingConfigured property
CIMTYPE'boolean'
Description'This property indicates whether the user has a roaming profile configured.
NOTE: User has a roaming profile configured does not mean that this profile is indeed roaming.
There are other policies and user preference can prevent the profile from roaming.
Please refer to the RoamingPreference and Status property.'
RoamingConfigured property is in 1 class (Win32_UserProfile) of ROOT\CIMV2\ms_409 and in 2 namespaces
▲ RoamingPath property
CIMTYPE'string'
Description'This property contains the user's roaming profile path if RoamingConfigured is true.'
RoamingPath property is in 1 class (Win32_UserProfile) of ROOT\CIMV2\ms_409 and in 2 namespaces
▲ RoamingPreference property
CIMTYPE'boolean'
Description'This property indicates whether the user prefer to roam this profile if RoamingConfigured is true.
By default, this property will be true to let the roaming profile roam between the local computer and the server.
User can set this property to false to prevent roaming, then the profile will work like a local profile.
'
RoamingPreference property is in 1 class (Win32_UserProfile) of ROOT\CIMV2\ms_409 and in 2 namespaces
▲ SID property
CIMTYPE'string'
Description'This property contains the SID of the user who owns this user profile.'
keyTrue
SID property is in 14 classes of ROOT\CIMV2\ms_409 and in 142 namespaces
▲ Special property
CIMTYPE'boolean'
Description'This property indicates whether this profile belongs to a special system service.'
Special property is in 1 class (Win32_UserProfile) of ROOT\CIMV2\ms_409 and in 3 namespaces
▲ Status property
CIMTYPE'uint32'
Description'May be one or more of the following:

0x00000001 - Indicate the profile is a temporary profile, it will be deleted at user logoff.
0x00000002 - Indicate the profile is now set to roaming, if this bit is not set, then it is set to local.
0x00000004 - Indicate the profile is a mandatory profile.
0x00000008 - Indicate the profile is a corrupted profile, and not in use, user or administrator must fix
the corruption in order to use this profile again.
'
Status property is in 225 classes of ROOT\CIMV2\ms_409 and in 42 namespaces

Win32_UserProfile Qualifiers

NameValueToInstanceToSubclassOverridableAmendedLocal
AMENDMENTTrue✗✗✓✗✓
Description'The Win32_UserProfile class contains information about user profiles on a Windows system.'✗✗✓✗✓
LOCALE1033✗✗✓✗✓

Win32_UserProfile System properties

NameValueOriginCIMTypeLocalArray
__PATH'\\.\ROOT\CIMV2\ms_409:Win32_UserProfile'___SYSTEM8✗✗
__NAMESPACE'ROOT\CIMV2\ms_409'___SYSTEM8✗✗
__SERVER'.'___SYSTEM8✗✗
__DERIVATION[]___SYSTEM8✗✓
__PROPERTY_COUNT12___SYSTEM3✗✗
__RELPATH'Win32_UserProfile'___SYSTEM8✗✗
__DYNASTY'Win32_UserProfile'___SYSTEM8✗✗
__SUPERCLASSnull___SYSTEM8✗✗
__CLASS'Win32_UserProfile'___SYSTEM8✗✗
__GENUS1___SYSTEM3✗✗

Similar Classes to Win32_UserProfile

Number of classes:1
Class nameChildsPropertiesMethodsClass
Instances
Child
Instances
AbstractSingleton
Win32_NetworkLoginProfile0320----
comments powered by Disqus
WUtils.com