[opencms-dev] How we create new webuser from a JSP page ??

Jorge González informatico at hotelparadisepark.com
Wed Sep 13 10:35:58 CEST 2006


This is what I've done:

1. Try - catch and create the user. If the email or the username is not 
unique, you will raise the appropiate exception.
2. If the user is created ok, continue
3. If the exception is raised, return a "please change your username or 
password" to the user

Andras Balogh escribió:
> All is nice until the step when You want to verify if the user with 
> that email address is already
> added as webuser or not.
> This check is necessary otherwise you allow a person to subscribe more 
> than once.
> Anybody has a comment on this?
> The problem I see is that the list of web users is not accessible only 
> to a logged in admin user
> (as far as i know)
>
> Best regards,
> Andras
>
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please 
> visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
>




More information about the opencms-dev mailing list