1. You could create another connection string inside Sitefinity that points to the other database where you store the user's membership and role data.
2. Register your custom membership and role providers in Sitefinty web.config - <membership
> and <roleManager
3. Create a simple page or control and copy the users from your custom provider to the Sitefinity provider
Note that if you use Hashed password format you will not be able to migrate the old users. In case the password is Encrypted, you should decrypt it. The third format is Clear.
Another option would be setting the additional provider as described above and moving the users during the authentication
sender, AuthenticateEventArgs e)
// the default provider should be set to Sitefinity !
// authenticate the user through CustomProvider provider
e.Authenticated = Membership.Providers[
sender, EventArgs e)
// check whether there is a user in the default provider with the same name
MembershipUser user = UserManager.Default.GetUser(
// if there is not a user with the same name create Membership user from the CustomProvider provider, so that
// you can extract some data
MembershipUser adUser = Membership.Providers[
// create the same user in the default Membership provider
user = UserManager.Default.CreateUser(adUser.UserName,
UserManager userManager =
// add then newly create user to a given role
// set the authentication cookie
HttpCookie cookie =
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Telerik Public Issue Tracking
system and vote to affect the priority of the items.