Login Property
      
 

Description

Determines username/login to be used with server.


Property type

A String value.  


Syntax

object.Login [= value]



The Login Property syntax has these parts:

Part Description
object An expression evaluating to an object of type wodXMPP.
value A 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 .