Workflow on user creation

Posted by Community Admin on 04-Aug-2018 15:30

Workflow on user creation

All Replies

Posted by Community Admin on 14-Jan-2016 00:00

Hi,
we are developing a application over sitefinity and we have a doubt.
We are developing the user registration, and we don't see if exists a kind of workflow in this registration. If we use the users api, on create it, the user is created with immediate access. We need to send a mail, before to enable the user access, for verify the mail. Until the mail is not validated, the user cannot enter.
We are looking for the way to do it... Is it necessary develop the full workflow? Someone knows if exists some module for achieve this behaviour, without a custom develop?

Thank you,
Adrià

Posted by Community Admin on 19-Jan-2016 00:00

Hello Adrià,

The out-of-the-box registration widget has this functionality. Refer to our documentation articles about the registration widget and the account activation widget for more information on how to configure it.

Registration widget: http://docs.sitefinity.com/registration-widget#account-activation
Account activation widget: http://docs.sitefinity.com/account-activation-widget

This can also be achieved this using our API. The CreateUser method of the UserManager has an overload that accepts an isApproved parameter, which when set to false will require email confirmation.

The UserRegistrationEmailGenerator.GenerateRegistrationConfirmationEmail method can be then used to generate the confirmation email and send it with the EmailSender.

Regards,
Velizar Bishurov
Telerik

 
Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
 

This thread is closed