Win32_UserProfile, ROOT\CIMV2

Class | Methods (1) | Properties (29) | Qualifiers (4) | Instances (15) | 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 29 properties (29 Local)

NameOriginCIMType
AppDataRoamingWin32_UserProfile13 [object:Win32_FolderRedirectionHealth]
ContactsWin32_UserProfile13 [object:Win32_FolderRedirectionHealth]
DesktopWin32_UserProfile13 [object:Win32_FolderRedirectionHealth]
DocumentsWin32_UserProfile13 [object:Win32_FolderRedirectionHealth]
DownloadsWin32_UserProfile13 [object:Win32_FolderRedirectionHealth]
FavoritesWin32_UserProfile13 [object:Win32_FolderRedirectionHealth]
HealthStatusWin32_UserProfile17 [uint8]
LastAttemptedProfileDownloadTimeWin32_UserProfile101 [DATETIME]
LastAttemptedProfileUploadTimeWin32_UserProfile101 [DATETIME]
LastBackgroundRegistryUploadTimeWin32_UserProfile101 [DATETIME]
LastDownloadTimeWin32_UserProfile101 [DATETIME]
LastUploadTimeWin32_UserProfile101 [DATETIME]
LastUseTimeWin32_UserProfile101 [DATETIME]
LinksWin32_UserProfile13 [object:Win32_FolderRedirectionHealth]
LoadedWin32_UserProfile11 [boolean]
LocalPathWin32_UserProfile8 [string]
MusicWin32_UserProfile13 [object:Win32_FolderRedirectionHealth]
PicturesWin32_UserProfile13 [object:Win32_FolderRedirectionHealth]
RefCountWin32_UserProfile19 [uint32]
RoamingConfiguredWin32_UserProfile11 [boolean]
RoamingPathWin32_UserProfile8 [string]
RoamingPreferenceWin32_UserProfile11 [boolean]
SavedGamesWin32_UserProfile13 [object:Win32_FolderRedirectionHealth]
SearchesWin32_UserProfile13 [object:Win32_FolderRedirectionHealth]
key
SID
Win32_UserProfile8 [string]
SpecialWin32_UserProfile11 [boolean]
StartMenuWin32_UserProfile13 [object:Win32_FolderRedirectionHealth]
StatusWin32_UserProfile19 [uint32]
VideosWin32_UserProfile13 [object:Win32_FolderRedirectionHealth]

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✓-{'BitMap':['0', '1'],'BitValues':['ReplaceNewOwnerProfile', 'DeleteReplacedProfile'],'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'
ImplementedTrue
ChangeOwner method is in 1 class (Win32_UserProfile) of ROOT\cimv2 and in 2 namespaces

Detailed description of Win32_UserProfile properties

Local properties (29) of Win32_UserProfile class

▲ AppDataRoaming property
CIMTYPE'object:Win32_FolderRedirectionHealth'
Description'A Win32_FolderRedirectionHealth object that represents the health of the user's redirected AppData\Roaming folder.'
readTrue
AppDataRoaming property is in 2 classes of ROOT\cimv2 and in 1 namespace
▲ Contacts property
CIMTYPE'object:Win32_FolderRedirectionHealth'
Description'A Win32_FolderRedirectionHealth object that represents the health of the user's redirected Contacts folder.'
readTrue
Contacts property is in 2 classes of ROOT\cimv2 and in 1 namespace
▲ Desktop property
CIMTYPE'object:Win32_FolderRedirectionHealth'
Description'A Win32_FolderRedirectionHealth object that represents the health of the user's redirected Desktop folder.'
readTrue
Desktop property is in 2 classes of ROOT\cimv2 and in 1 namespace
▲ Documents property
CIMTYPE'object:Win32_FolderRedirectionHealth'
Description'A Win32_FolderRedirectionHealth object that represents the health of the user's redirected Documents folder.'
readTrue
Documents property is in 2 classes of ROOT\cimv2 and in 1 namespace
▲ Downloads property
CIMTYPE'object:Win32_FolderRedirectionHealth'
Description'A Win32_FolderRedirectionHealth object that represents the health of the user's redirected Downloads folder.'
readTrue
Downloads property is in 2 classes of ROOT\cimv2 and in 1 namespace
▲ Favorites property
CIMTYPE'object:Win32_FolderRedirectionHealth'
Description'A Win32_FolderRedirectionHealth object that represents the health of the user's redirected Favorites folder.'
readTrue
Favorites property is in 2 classes of ROOT\cimv2 and in 1 namespace
▲ HealthStatus property
CIMTYPE'uint8'
Description'The health status of this profile, based on the values that were set in the Win32_RoamingUserHealthConfiguration properties.'
readTrue
ValueMap['0', '1', '2', '3']
Values['Healthy', 'Unhealthy', 'Caution', 'Not Applicable']
HealthStatus property is in 2 classes of ROOT\cimv2 and in 12 namespaces
▲ LastAttemptedProfileDownloadTime property
CIMTYPE'DATETIME'
Description'If the profile is a roaming profile, this property is a DATETIME value that indicates the last time an attempt was made to download the profile from the server, even if it was unsuccessful. If the profile is a local profile, this property is zero.'
readTrue
LastAttemptedProfileDownloadTime property is in 1 class (Win32_UserProfile) of ROOT\cimv2 and in 1 namespace
▲ LastAttemptedProfileUploadTime property
CIMTYPE'DATETIME'
Description'If the profile is a roaming profile, this property is a DATETIME value that indicates the last time an attempt was made to upload the profile to the server, even if it was unsuccessful.'
readTrue
LastAttemptedProfileUploadTime property is in 1 class (Win32_UserProfile) of ROOT\cimv2 and in 1 namespace
▲ LastBackgroundRegistryUploadTime property
CIMTYPE'DATETIME'
Description'If this profile is a roaming profile, this property is a DATETIME value that indicates the last time the profile's registry hive was uploaded to the server.'
readTrue
LastBackgroundRegistryUploadTime property is in 1 class (Win32_UserProfile) of ROOT\cimv2 and in 1 namespace
▲ LastDownloadTime property
CIMTYPE'DATETIME'
Description'This property indicates when a roaming profile was downloaded from server last time.'
readTrue
LastDownloadTime property is in 1 class (Win32_UserProfile) of ROOT\cimv2 and in 2 namespaces
▲ LastUploadTime property
CIMTYPE'DATETIME'
Description'This property indicates when a roaming profile was uploaded to server last time.'
readTrue
LastUploadTime property is in 1 class (Win32_UserProfile) of ROOT\cimv2 and in 2 namespaces
▲ LastUseTime property
CIMTYPE'DATETIME'
Description'This property indicates when this profile is used last time.'
readTrue
LastUseTime property is in 1 class (Win32_UserProfile) of ROOT\cimv2 and in 2 namespaces
▲ Links property
CIMTYPE'object:Win32_FolderRedirectionHealth'
Description'A Win32_FolderRedirectionHealth object that represents the health of the user's redirected Links folder.'
readTrue
Links property is in 2 classes of ROOT\cimv2 and in 1 namespace
▲ Loaded property
CIMTYPE'boolean'
Description'This property indicates whether this profile is loaded.'
readTrue
Loaded property is in 1 class (Win32_UserProfile) of ROOT\cimv2 and in 2 namespaces
▲ LocalPath property
CIMTYPE'string'
Description'This property contains the user profile's path on the local computer.'
readTrue
LocalPath property is in 1 class (Win32_UserProfile) of ROOT\cimv2 and in 3 namespaces
▲ Music property
CIMTYPE'object:Win32_FolderRedirectionHealth'
Description'A Win32_FolderRedirectionHealth object that represents the health of the user's redirected Music folder.'
readTrue
Music property is in 2 classes of ROOT\cimv2 and in 1 namespace
▲ Pictures property
CIMTYPE'object:Win32_FolderRedirectionHealth'
Description'A Win32_FolderRedirectionHealth object that represents the health of the user's redirected Pictures folder.'
readTrue
Pictures property is in 2 classes of ROOT\cimv2 and in 1 namespace
▲ 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.
'
readTrue
RefCount property is in 1 class (Win32_UserProfile) of ROOT\cimv2 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.'
readTrue
RoamingConfigured property is in 1 class (Win32_UserProfile) of ROOT\cimv2 and in 2 namespaces
▲ RoamingPath property
CIMTYPE'string'
Description'This property contains the user's roaming profile path if RoamingConfigured is true.'
readTrue
RoamingPath property is in 1 class (Win32_UserProfile) of ROOT\cimv2 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.
'
readTrue
writeTrue
RoamingPreference property is in 1 class (Win32_UserProfile) of ROOT\cimv2 and in 2 namespaces
▲ SavedGames property
CIMTYPE'object:Win32_FolderRedirectionHealth'
Description'A Win32_FolderRedirectionHealth object that represents the health of the user's redirected Saved Games folder.'
readTrue
SavedGames property is in 2 classes of ROOT\cimv2 and in 1 namespace
▲ Searches property
CIMTYPE'object:Win32_FolderRedirectionHealth'
Description'A Win32_FolderRedirectionHealth object that represents the health of the user's redirected Searches folder.'
readTrue
Searches property is in 4 classes of ROOT\cimv2 and in 1 namespace
▲ SID property
CIMTYPE'string'
Description'This property contains the SID of the user who owns this user profile.'
keyTrue
readTrue
SID property is in 18 classes of ROOT\cimv2 and in 142 namespaces
▲ Special property
CIMTYPE'boolean'
Description'This property indicates whether this profile belongs to a special system service.'
readTrue
Special property is in 1 class (Win32_UserProfile) of ROOT\cimv2 and in 3 namespaces
▲ StartMenu property
CIMTYPE'object:Win32_FolderRedirectionHealth'
Description'A Win32_FolderRedirectionHealth object that represents the health of the user's redirected Start Menu folder.'
readTrue
StartMenu property is in 2 classes of ROOT\cimv2 and in 1 namespace
▲ Status property
BitMap['0', '1', '2', '3']
BitValues['Temporary', 'Roaming', 'Mandatory', 'Corrupted']
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.
'
readTrue
Status property is in 230 classes of ROOT\cimv2 and in 42 namespaces
▲ Videos property
CIMTYPE'object:Win32_FolderRedirectionHealth'
Description'A Win32_FolderRedirectionHealth object that represents the health of the user's redirected Videos folder.'
readTrue
Videos property is in 2 classes of ROOT\cimv2 and in 1 namespace

Win32_UserProfile Qualifiers

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

Win32_UserProfile System properties

NameValueOriginCIMTypeLocalArray
__PATH'\\.\ROOT\cimv2:Win32_UserProfile'___SYSTEM8✗✗
__NAMESPACE'ROOT\cimv2'___SYSTEM8✗✗
__SERVER'.'___SYSTEM8✗✗
__DERIVATION[]___SYSTEM8✗✓
__PROPERTY_COUNT29___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:5
Class nameChildsPropertiesMethodsClass
Instances
Child
Instances
AbstractSingleton
Win32_NetworkLoginProfile032015---
Win32_RoamingProfileBackgroundUploadParams030----
Win32_RoamingProfileMachineConfiguration01801--✓
Win32_RoamingProfileSlowLinkParams020----
Win32_RoamingProfileUserConfiguration030---✓
comments powered by Disqus
WUtils.com