UserDomain Property
Gets or sets the domain value used for Jabber IDs.
Syntax
ANSI (Cross Platform) char* GetUserDomain();
int SetUserDomain(const char* lpszUserDomain); Unicode (Windows) LPWSTR GetUserDomain();
INT SetUserDomain(LPCWSTR lpszUserDomain);
@property (nonatomic,readwrite,assign,getter=userDomain,setter=setUserDomain:) NSString* userDomain; - (NSString*)userDomain; - (void)setUserDomain:(NSString*)newUserDomain;
#define PID_XMPP_USERDOMAIN 43 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);
Default Value
""
Remarks
A Jabber ID (JID) is a unique identifier of the format "User@Domain/Resource". user@domain denotes the account by username and domain. The Resource is given during the login process to distinguish individual connections under the same account. If the IMServer contains multiple domains, this property setting allows the user to specify the domain under which to login.
If Domain is empty, the value in IMServer is used by default when creating the client's JID.
Data Type
String