{'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'
Implemented
True
ChangeOwner method is in 1 class (Win32_UserProfile) of ROOT\cimv2 and in 2 namespaces
Detailed description of Win32_UserProfile properties
'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.'
read
True
LastAttemptedProfileDownloadTime property is in 1 class (Win32_UserProfile) of ROOT\cimv2 and in 1 namespace
'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.'
read
True
LastAttemptedProfileUploadTime property is in 1 class (Win32_UserProfile) of ROOT\cimv2 and in 1 namespace
'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.'
read
True
LastBackgroundRegistryUploadTime property is in 1 class (Win32_UserProfile) of ROOT\cimv2 and in 1 namespace
'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. '
read
True
RefCount property is in 1 class (Win32_UserProfile) of ROOT\cimv2 and in 4 namespaces
'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.'
read
True
RoamingConfigured property is in 1 class (Win32_UserProfile) of ROOT\cimv2 and in 2 namespaces
'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. '
read
True
write
True
RoamingPreference property is in 1 class (Win32_UserProfile) of ROOT\cimv2 and in 2 namespaces
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. '