BuddyGroup Property

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

Syntax

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;
#define PID_XMPP_BUDDYGROUP 4

IPWORKS_EXTERNAL void* IPWORKS_CALL IPWorks_XMPP_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKS_EXTERNAL int IPWORKS_CALL IPWorks_XMPP_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
IPWORKS_EXTERNAL int IPWORKS_CALL IPWorks_XMPP_CheckIndex(void *lpObj, int propid, int arridx);

Default Value

""

Remarks

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

String

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