Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Developers

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-13-2010, 01:11 PM
Active Member
 
Posts: 37
Unhappy [SOLVED] create a user programatically!!

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..
Reply With Quote
  #2 (permalink)  
Old 05-13-2010, 01:26 PM
sam sam is offline
Zimbra Employee
 
Posts: 821
Default

Take a look at soap-admin.txt or ZClient, the Zimbra Java client library.
__________________
Sam Khavari

:: :: [ Zimbra ] :: :: [ Bugzilla ] :: :: [ Product Portal ] :: :: [ Wiki ] :: :: [ Downloads ] :: :: [ . ] ::
Reply With Quote
  #3 (permalink)  
Old 05-13-2010, 07:27 PM
Elite Member
 
Posts: 338
Default

Quote:
Originally Posted by jayanth View Post
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..
or you can see commands of zimbra console and write a program that can calls these commands
Reply With Quote
  #4 (permalink)  
Old 05-14-2010, 05:56 AM
Active Member
 
Posts: 37
Unhappy

Quote:
Originally Posted by sam View Post
Take a look at soap-admin.txt or ZClient, the Zimbra Java client library.

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
Reply With Quote
  #5 (permalink)  
Old 05-14-2010, 08:57 AM
Moderator
 
Posts: 7,928
Default

Old thread but it will give you the idea :- Add account using SOAP

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.
__________________
Reply With Quote
  #6 (permalink)  
Old 05-14-2010, 09:18 AM
Active Member
 
Posts: 37
Default

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
Reply With Quote
  #7 (permalink)  
Old 05-14-2010, 09:26 AM
Moderator
 
Posts: 7,928
Default

All the JAR files will be available in the source code. You should have a read through Building Zimbra using Perforce - Zimbra :: Wiki.
__________________
Reply With Quote
  #8 (permalink)  
Old 05-14-2010, 10:19 AM
Active Member
 
Posts: 37
Default

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
Reply With Quote
  #9 (permalink)  
Old 05-14-2010, 11:32 PM
Moderator
 
Posts: 7,928
Default

Please post the command you are running to checkout the code.
__________________
Reply With Quote
  #10 (permalink)  
Old 05-15-2010, 12:13 AM
Active Member
 
Posts: 37
Default

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

Last edited by jayanth; 05-15-2010 at 12:41 AM..
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.