Hi, this kind of questions are better ask on server-dev@, however I will try to answer it ;)
In the current trunk of JAMES you could use JMX todo this kind of work. In 2.3.x you will need to stick with telnet. I remember some people mention they did this with commons-net todo this kind of stuff from within java. Sorry mate. Bye, Norman 2009/10/15 clay <[email protected]>: > Thanks for your reply. > > You know, I may have to switch to a DB but I'm really hoping I can > > figure out/find out how to use this: > http://james.apache.org/server/2.3.1/apidocs/org/apache/james/userrepository > /UsersFileRepository.html > > It says it is a "Repository to store users on the File System" and it has > all the methods needed to manage them ... addUser, removeUser, etc. > > > > -----Original Message----- > From: Eric MacAdie [mailto:[email protected]] > Sent: Wednesday, October 14, 2009 4:21p > To: James Users List > Subject: Re: Where can I download the James API describing the > userrepository package? > > > I have a page that describes how to add users via SQL: > http://www.MacAdie.net/opencms/opencms/sites/MacAdie.dot.Net/Java/James/006. > managingUsersWithADatabase.html > > If you are not storing user information in a database, then I think > telnet is the only solution. > > Regards, > Eric MacAdie > > > clay wrote: >> I'm looking for information on how to add/remove users with a program. >> >> I found this online: >> >> > http://james.apache.org/server/2.3.1/apidocs/org/apache/james/userrepository >> /package-summary.html >> >> It looks like it is useful but I can't find where to download it. >> >> I downloaded the mailets API, I thought it might be there, but it isn't. >> >> >> Thanks for your help. >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
