IEventSubscription::PerUser property

Indicates whether the subscription receives the event only if the owner of the subscription is logged on to the same computer as the publisher.

This property is read/write.

Syntax


HRESULT put_PerUser(
  [in]          BOOL fPerUser
);

HRESULT get_PerUser(
  [out, retval] BOOL *pfPerUser
);

Property value

This parameter is TRUE if the subscription is enabled only if the specified user is logged on to the computer on which the subscription is defined. The default is FALSE.

Error codes

This method can return the standard return values E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, E_FAIL, and S_OK.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

EventSys.h

IDL

EventSys.idl

See also

IEventSubscription

 

 

Show: