Questions tagged [membership-provider]

All queries related to dynamically setting/configuring Sitecore Users and their relationship with Asp.Net Membership provider.

Filter by
Sorted by
Tagged with
-1 votes
2 answers
185 views

Error logging in after resetting admin password [duplicate]

I reset the Sitecore Admin password from SQL using the below query: UPDATE [aspnet_Membership] SET [Password]='qOvF8m8F2IcWMvfOBjJYHmfLABc=', [PasswordSalt]='OM5gu45RQuJ76itRvkSPFw==',...
user avatar
  • 15
1 vote
2 answers
129 views

send activation email after registration of new extranet user

we create a custom registration page to register extra-net user in our sitecore application ,but our customer request activation email to activate account . the problem is there is no activation ...
user avatar
  • 15
2 votes
0 answers
169 views

How to setup authentication when using a combination of Azure AD and a custom database to store user accounts?

I am using SXC 9.0.2. I have an Azure AD and would like to let Azure AD accounts access both the Content Editor and the Commerce Business Tools. End-users will also need to sign-in - these users will ...
user avatar
  • 297
5 votes
1 answer
616 views

Using the new Identy server in 9.1, it is still possible to implement a custom ASP.NET Membership provider?

Reading the documentation here: https://doc.sitecore.com/developers/91/sitecore-experience-management/en/sitecore-identity-server-authentication.html "The SI server uses identityserver-contrib-...
user avatar
  • 53
9 votes
2 answers
3k views

Move users / roles / passwords to new core database

We are migrating from Sitecore 8.2 to 9.0.2 and decided to start with "fresh" core, web, and master databases, migrating content on top of blank databases. What is the most efficient method to ...
user avatar
  • 327
1 vote
0 answers
355 views

Membership provider per domain in multisite configuration

We have multisite setup with two websites pointing to two domains in sites.config and we are trying to map custom membership provider to each of the domains. Here is the configuration: Web.config: ...
user avatar
  • 397
1 vote
0 answers
26 views

Social login not working when password policy is implemented

In our website(Sitecore 8.2 u5), we have a user registration page and also the social login option. For the social login, we are using the in-built Social connector module. When user logs in using ...
user avatar
  • 2,547
0 votes
1 answer
910 views

Entity Framework Code First - Sitecore Databases

I want to use entity framework to extend the functionality of Sitecore's membership. As you know, you can't query data efficiently like you can with an SQL database. I am trying to setup a context ...
user avatar
4 votes
1 answer
378 views

Renaming user names in Sitecore Membership Database

What if I change the username in Sitecore using SQL command? UPDATE dbo.aspnet_Users WITH (ROWLOCK) SET UserName = @NewUserName WHERE UserName = @UserName I tried it and ...
user avatar
  • 43
2 votes
2 answers
3k views

Getting User Roles from Username

How do I get User Roles based on Username? UserRoles roles = user.Roles; string role = roles.GetEnumerator().ToString(); If I have a user, I can get it like this. But how do I get the roles when all ...
user avatar
5 votes
2 answers
511 views

Using Emails As Usernames

A client wants to use emails as usernames. The reason is that this multisite solution has users with different email domains so there's a chance that stripping @domain.com will cause a duplicate ...
user avatar
  • 2,457
0 votes
1 answer
554 views

Create users from API

We are trying to build a stand-alone API, which has to meet this requirement. The API gets inputs for "Name" & "Email" and should then create user in any chosen Sitecore instance. As this is a ...
user avatar
  • 2,547
2 votes
2 answers
1k views

How to validate a "Disabled" user account

If a user provides me their username and password, I am able to log them in using Sitecore.Security.Authentication.AuthenticationManager.Login(username, password) Or validate their account with ...
user avatar
  • 123
5 votes
3 answers
2k views

Sitecore Virtual User is lost on new page request

We have created a Virtual User in Sitecore (to reside in Sitecore memory) - we are able to see the virtual user with all the profile data we save but on a redirect to a new page, the Virtual user and ...
user avatar
3 votes
2 answers
1k views

Why we should keep all user profile data in Sitecore?

I had a good debate with friends at work to decide where we should keep user profile and why? As the discussion goes on we had these key points below which I feel our competency is up to only a ...
user avatar
  • 121
3 votes
1 answer
284 views

How to use the Stormpath (or similar) OAuth provider to authenticate external users?

How can we replace the existing membership provider in Sitecore with an OAuth- based provider (like stormpath.com)? Further details: We are designing a solution in which the external users are stored ...
user avatar
  • 963
10 votes
1 answer
325 views

Prepopulate WFFM field with username

I would like to use the rules engine to prepopulate a WFFM form field with the logged in user's username. Unfortunately, I can't seem to get this to work, even though the conditions and actions that I ...
user avatar
7 votes
2 answers
118 views

How to run custom logic when a user has been added to a particular role?

In Sitecore, is there a way that I can run custom logic when a user is added to a particular role?
user avatar
8 votes
1 answer
503 views

How to send email, when users roles change - User Manager customization

I've been tasked with an interesting challenge. The client wants a user to be sent an email informing them when they have been assigned to a specific role by an Admin. What will be the best way to ...
user avatar