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
2answers
58 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==',...
1
vote
2answers
78 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 ...
1
vote
0answers
81 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 ...
4
votes
1answer
319 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-...
8
votes
2answers
645 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 ...
1
vote
0answers
188 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: ...
1
vote
0answers
23 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 ...
0
votes
1answer
526 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 ...
4
votes
1answer
316 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 found ...
2
votes
1answer
2k 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 ...
5
votes
2answers
294 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 ...
0
votes
1answer
397 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 ...
2
votes
2answers
760 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 ...
5
votes
3answers
1k 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 ...
3
votes
2answers
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 ...
3
votes
1answer
233 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 ...
10
votes
1answer
315 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 ...
7
votes
2answers
90 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?
8
votes
1answer
384 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 ...