BuddyGroup Property

This is a comma-separated list of the buddy's associated groups.


ANSI (Cross Platform)
char* GetBuddyGroup(int iBuddyIndex);
int SetBuddyGroup(int iBuddyIndex, const char* lpszBuddyGroup); Unicode (Windows) LPWSTR GetBuddyGroup(INT iBuddyIndex);
INT SetBuddyGroup(INT iBuddyIndex, LPCWSTR lpszBuddyGroup);
- (NSString*)buddyGroup:(int)buddyIndex;
- (void)setBuddyGroup:(int)buddyIndex:(NSString*)newBuddyGroup;

IPWORKSIOT_EXTERNAL void* IPWORKSIOT_CALL IPWorksIoT_XMPP_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKSIOT_EXTERNAL int IPWORKSIOT_CALL IPWorksIoT_XMPP_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
IPWORKSIOT_EXTERNAL int IPWORKSIOT_CALL IPWorksIoT_XMPP_CheckIndex(void *lpObj, int propid, int arridx);

Default Value



This is a comma-separated list of the buddy's associated groups.

After the Sync event has fired, this property will contain a comma-separated list of groups for the associated BuddyId. Changing this value will cause the buddy's group associations to change. Setting it to the empty string ("") will cause the buddy to be completely disassociated from all groups.

The BuddyIndex parameter specifies the index of the item in the array. The size of the array is controlled by the BuddyCount property.

This property is not available at design time.

Data Type


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