Technical support This forum is closed.
Version 1.x > Technical support > Custom User Validation View modes: 
User avatar
Member
Member
RHavlick - 1/22/2006 9:06:08 PM
   
Custom User Validation
Hello,

We finally got our site up and running, and it's working great. We'd like to also have the CMS application run parts of our secured site. I've implemented the secure site using the users and roles built into the CMS Desk, however for some parts of the secured site use serial numbers, and no passwords which are updated and managed via another system. Is there any way to create a custom validation function that would override the normal one for this one situation? We could then write this function to connect and validate based off this other system and database.

Thanks.



User avatar
Guest
admin - 1/23/2006 8:35:00 PM
   
Re: Custom User Validation
Hello,

since Kentico CMS uses standard ASP.NET forms authentication, you can simply create your logon form that will validate the serial number and call something like this:

FormsAuthentication.RedirectFromLoginPage(mUserNameTextBox.Text.Trim, mRememberCheckBox.Checked)

Please let me know if it works for you.

Best Regards,