Workflow on user creation - Front- & Back-End Development - Front- & Back-End Development - Progress Community
 Front- & Back-End Development

Workflow on user creation

  • Workflow on user creation
  • 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,
  • 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:
    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.

    Velizar Bishurov
    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