IncomingMessageUserId Property

The identity of the user responsible for producing the message.

Syntax

ANSI (Cross Platform)
char* GetIncomingMessageUserId(int iIncomingMessageIndex);

Unicode (Windows)
LPWSTR GetIncomingMessageUserId(INT iIncomingMessageIndex);
- (NSString*)incomingMessageUserId:(int)incomingMessageIndex;
#define PID_AMQPCLASSIC_INCOMINGMESSAGEUSERID 38

IPWORKSIOT_EXTERNAL void* IPWORKSIOT_CALL IPWorksIoT_AMQPClassic_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);

IPWORKSIOT_EXTERNAL int IPWORKSIOT_CALL IPWorksIoT_AMQPClassic_CheckIndex(void *lpObj, int propid, int arridx);

Default Value

""

Remarks

The identity of the user responsible for producing the message.

This property specifies the identity of the user responsible for producing the message. It may be empty if no specific user was responsible for creating the message.

A message's user Id may be used for verification or authentication by the server and/or the final consumer.

This value must be specified as a string no longer than 255 characters.

The IncomingMessageIndex parameter specifies the index of the item in the array. The size of the array is controlled by the IncomingMessageCount property.

This property is read-only and not available at design time.

Data Type

String

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks IoT 2020 C++ Edition - Version 20.0 [Build 8265]