Share via


IUpdate4::PerUser property

Gets a Boolean value that indicates whether this is a per-user update.

This property is read-only.

Syntax

HRESULT get_PerUser(
  [out, retval] VARIANT_BOOL *retval
);

Property value

VARIANT_TRUE if a system restart is required; otherwise, VARIANT_FALSE.

Remarks

Per-user updates are designed to alter the current user’s environment only; not the environment of the machine as a whole. For example, an update which only alters files in the current user’s user directory could be a per-user update; an update which alters files in the Program Files directory or the Windows directory would not be a per-user update. Per-user updates are currently not processed by Automatic Updates or displayed in the Windows Update user interface. Instead, they are only available to callers who specifically request them in searches by using the IUpdateSearcher3 interface. On computers running versions of Windows Update Agent that do not implement the IUpdate4 interface, only per-machine updates will be available; per-user updates will never be detected.

Requirements

Minimum supported client

Windows XP, Windows 2000 Professional with SP3 [desktop apps only]

Minimum supported server

Windows Server 2003, Windows 2000 Server with SP3 [desktop apps only]

Header

Wuapi.h

IDL

Wuapi.idl

Library

Wuguid.lib

DLL

Wuapi.dll

See also

IUpdate4