User Property
A username if authentication is to be used.
Syntax
ANSI (Cross Platform) char* GetUser();
int SetUser(const char* lpszUser); Unicode (Windows) LPWSTR GetUser();
INT SetUser(LPCWSTR lpszUser);
@property (nonatomic,readwrite,assign,getter=user,setter=setUser:) NSString* user; - (NSString*)user; - (void)setUser:(NSString*)newUser;
#define PID_STOMP_USER 37 IPWORKSIOT_EXTERNAL void* IPWORKSIOT_CALL IPWorksIoT_STOMP_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKSIOT_EXTERNAL int IPWORKSIOT_CALL IPWorksIoT_STOMP_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
""
Remarks
If this property is set when connecting, the class will send the user in the login header.
This property is not available at design time.
Data Type
String