All Questions
Tagged with membership or membership-provider
21 questions
1
vote
4
answers
175
views
Adding a CM User from External System to Sitecore
I am using Sitecore 10.1, there is a business requirements to allow external system to add CM users to Sitecore so my question is:
Is there an API that we can access to add the users in Sitecore?
1
vote
1
answer
162
views
Difference between aspnet_Users, aspnet_Profile and aspnet_Membership tables in Sitecore
Can someone please help me understand the use and difference between aspnet_Users, aspnet_Profile and aspnet_Membership tables in Sitecore?
And what sequence Sitecore follows to create user I mean ...
-1
votes
2
answers
307
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
2
answers
150
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 ...
2
votes
0
answers
227
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 ...
5
votes
1
answer
719
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-...
9
votes
2
answers
4k
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
0
answers
499
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
0
answers
29
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
1
answer
1k
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
1
answer
389
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 ...
3
votes
2
answers
4k
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
2
answers
578
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
1
answer
633
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
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
...
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 ...
3
votes
2
answers
2k
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
1
answer
294
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
1
answer
326
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
2
answers
125
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?
9
votes
1
answer
560
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 ...