PDA

View Full Version : tool.exe create account with custom username



lsimic
05-25-2012, 02:48 PM
Hi,

I'm trying to create account with custom username using tool.exe.
While exporting username switch is u_login, but it has no effect on creating account.

I use following line to while trying to create it:
tool create account user@address.net u_login "customusername" u_password "pass1234"

This creates account with username "user", ading u_name does not change anything.


Thanks

marciohumpris
05-26-2012, 12:07 PM
Hi,

Always check icewarp/api/delphi/apiconst.pas (or File/API Console in console and search for constant, then right click copy name to get exact name).

You want FULL name field in user's account, right?

U_Name = $02; // String Account's full name/description [A]

So tool create account user@domain.com u_password 1234 u_name Jon Doe

Regards

lsimic
05-28-2012, 05:21 AM
Always check icewarp/api/delphi/apiconst.pas (or File/API Console in console and search for constant, then right click copy name to get exact name).


This helped.
I needed username field. That is U_Mailbox, as it turns out from icewarp/api/delphi/apiconst.pas.

U_Name is well documented in tutorial, and on the Internet, but there was nothing about username.

Thank you.

Best regards.