[SOLVED] create a user programatically!!

Have a great idea for extending Zimbra? Share ideas, ask questions, contribute, and get feedback.
jayanth
Posts: 37
Joined: Sat Sep 13, 2014 1:13 am

[SOLVED] create a user programatically!!

Postby jayanth » Thu May 13, 2010 3:11 pm

Hello,
how can i create a new user using java program. I searched all the posts but no one is clear. some one told that we can do that using SOAP , but in soap.txt i didnt find anything corresponding to this..:confused:


15539sam
Zimbra Alumni
Zimbra Alumni
Posts: 814
Joined: Fri Sep 12, 2014 9:52 pm

[SOLVED] create a user programatically!!

Postby 15539sam » Thu May 13, 2010 3:26 pm

Take a look at soap-admin.txt or ZClient, the Zimbra Java client library.
13546dalmate
Outstanding Member
Outstanding Member
Posts: 360
Joined: Fri Sep 12, 2014 11:59 pm

[SOLVED] create a user programatically!!

Postby 13546dalmate » Thu May 13, 2010 9:27 pm

[quote user="jayanth"]Hello,
how can i create a new user using java program. I searched all the posts but no one is clear. some one told that we can do that using SOAP , but in soap.txt i didnt find anything corresponding to this..:confused:[/QUOTE]

or you can see commands of zimbra console and write a program that can calls these commands
jayanth
Posts: 37
Joined: Sat Sep 13, 2014 1:13 am

[SOLVED] create a user programatically!!

Postby jayanth » Fri May 14, 2010 7:56 am

[quote user="15539sam"]Take a look at soap-admin.txt or ZClient, the Zimbra Java client library.[/QUOTE]


Thank for the reply,,,,,,,


what is zclient ," zclient wiki "that was given is not so explanatory . where can i get the Zimbra client library.is there any example for that
uxbod
Ambassador
Ambassador
Posts: 7811
Joined: Fri Sep 12, 2014 10:21 pm

[SOLVED] create a user programatically!!

Postby uxbod » Fri May 14, 2010 10:57 am

Old thread but it will give you the idea :-
I">http://www.zimbra.com/forums/developers/8655-add-account-using-soap.html
I
imagine the best thing to do would be to download the code from P4 and take a look through the different classes; alternatively you could use SOAP calls for creating the account.
jayanth
Posts: 37
Joined: Sat Sep 13, 2014 1:13 am

[SOLVED] create a user programatically!!

Postby jayanth » Fri May 14, 2010 11:18 am

the link you have shown is fairly straight forward. Thanks for that.

But from where can get the packages like = "com.zimbra.common.service.ServiceException"
is there any jar file or folder or a link to download it ,,,
Thanks in advance
uxbod
Ambassador
Ambassador
Posts: 7811
Joined: Fri Sep 12, 2014 10:21 pm

[SOLVED] create a user programatically!!

Postby uxbod » Fri May 14, 2010 11:26 am

All the JAR files will be available in the source code. You should have a read through Building Zimbra using Perforce - Zimbra :: Wiki.
jayanth
Posts: 37
Joined: Sat Sep 13, 2014 1:13 am

[SOLVED] create a user programatically!!

Postby jayanth » Fri May 14, 2010 12:19 pm

i installed p4 and whenever i am trying to checkout GNR - 602 it is showing the error as dont have permission for this operation . Then how to proceed further
uxbod
Ambassador
Ambassador
Posts: 7811
Joined: Fri Sep 12, 2014 10:21 pm

[SOLVED] create a user programatically!!

Postby uxbod » Sat May 15, 2010 1:32 am

Please post the command you are running to checkout the code.
jayanth
Posts: 37
Joined: Sat Sep 13, 2014 1:13 am

[SOLVED] create a user programatically!!

Postby jayanth » Sat May 15, 2010 2:13 am

i am using p4(visual client) in windows.


Browse Zimbra Community Builds & Projects Files on SourceForge.net , is this same with GNR-602 check out

Return to “Developers”

Who is online

Users browsing this forum: No registered users and 4 guests