Back to product page

Login property


Holds user's JID/login information.

Type

String

Syntax

  • Basic
object.Login [= value]
The Login(object,value) syntax has these parts:
objectAn expression evaluating to an object of type wodXMPP
valueA String value.

Remarks

This Property needs to be set before issuing Connect method. If it is not set before connection attempt, an error will be generated.

Login should contain full JID (username@domain.com), and wodXMPP will then extract domain.com part from it and connect to the server. If you plan to connect to different server than JID points to (such as xmpp.domain.com) you should set Hostname argument during Connect method call. You can also specify Resource if you wish, if you specify JID like this: username@domain.com/yourresource .

Platforms

Windows