Questions tagged [user-profile]
For questions related to Sitecore user profiles, including custom and native profile types, properties and storage
50 questions
1
vote
5
answers
77
views
How to get User's Profile from email? [duplicate]
I'm implementing an API where I need to return a user's info from its Profile's CustomProperties.
I can't find a way to just get the profile info using the Email. I don't need to retrieve the user by ...
3
votes
1
answer
71
views
Add a Sitecore Custom User Profile Property to Identity Server Claim
We are trying to understand how to customize the Sitecore Identity Server. We are using Sitecore 9.3.
Based on this article, by default, there are 5 claims available from Sitecore:
name
email
role
...
1
vote
1
answer
161
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 ...
0
votes
2
answers
351
views
I have created a new user in my local instance of Sitecore 10, later I was unable to login with the user which I have created
Below is the error I am getting. I have provided the correct credentials.
I have used the below URL for creating a new user :
https://doc.sitecore.com/xp/en/developers/90/platform-administration-and-...
1
vote
1
answer
63
views
Automatically assign a specific user group and modules to a new user
I want to automatically assign a specific user group and modules to a new user. I was able to successfully assign the user group with DefaultUserGroups property, but I can't find how to assign the ...
1
vote
1
answer
592
views
Need to know which role to enable to get Indexing Section Enabled
I have a user that we dont want to give admin access to, but still want some of the functionallity from it. The indexing section to where you can boost values, rules and include in search is all ...
1
vote
0
answers
85
views
xConnect get PatternCards for contact
I want to use xconnect to download pattern cards. The contact has pattern cards (I checked in his profile). I extended contact download with ContactBehaviorProfile. Below is my code
...
1
vote
0
answers
456
views
Random Sitecore Logout Issues
Running Sitecore version 8.1
Hello, I've been trying to figure out this issue for a while now and was curious to see if anyone has experienced something similar.
Issue: Content publishers get kicked ...
-1
votes
1
answer
95
views
What is the correct way to set commerce user custom profile properties
I'm trying to set & get the custom property values for a commerce user.
While fetching the value, there is an error:
The given key was not present in the dictionary
public void ...
2
votes
3
answers
542
views
Getting Sitecore Users faster, filtering based on custom property
Need help with the performance issue with sitecore GetUsers Function.
I have 80K sitecore users, and have custom property called "Accounts Assigned" in user profile. I am using pipe ...
2
votes
0
answers
155
views
Sitecore Virtual login and accessing userProfile.context during layout service execution
we are working on custom personlization rules with user data available outside sitecore. App is developed in jss in ssr mode. With sitecore login setting up virtual user context when user logged in to ...
0
votes
1
answer
58
views
How to filter the contacts who has hit the persona on specific page
Suppose, we have two pages one with the content relevant to Microsoft and one with content relevant to Apple. I have applied for two profile cards, one on the Microsoft page and one on the Apple page.
...
-1
votes
1
answer
990
views
Retrieve users from database
I need to retrieve all user details including role and email addresses. I was able to query from Users, Usersinrole, role table from core db. However, I couldn't find the table to query the email ...
1
vote
1
answer
202
views
Multilist with search in user profile giving "item not found" for selected items
I'm using Sitecore 9.1.1 and I've got a multilist with search field in the user profile (template in the core database) that is pointing to the master database for its datasource: databasename=master&...
1
vote
0
answers
17
views
Best Practice for Personas and Pattern Cards
I'm experimenting with the best route to setting up personas as pattern cards when they span multiple profiles. Is it possible to "share" pattern matches across profiles?
For example, if I have three ...
0
votes
0
answers
95
views
Sitecore virtual users in a setup with different login options
End-users of our commerce solution can log in, in two ways: With their email-address or using a booking number as user name.
They log in with an email-address when they already have a user profile on ...
1
vote
1
answer
453
views
Making use of the "user" events
I'm using Sitecore 9.1.1, and in the sitecore.config there are a series of user events (user:created, user:created:remote, user:deleted, user:deleted:remote, user:updated, user:updated:remote, etc). ...
5
votes
1
answer
186
views
How to set default wallpaper for virtual user?
I am logging in user as virtual user to Sitecore. For some reason default wallpaper for user is blue screen instead of default Sitecore field image.
if I update wallpaper manually via dialog it save ...
0
votes
1
answer
345
views
Sitecore search for users
I've been doing some research on doing a search of the user base, using profile values for querying. I know there's a sitecore_core_index which in theory would cover that, but I'm guessing it's not ...
0
votes
1
answer
69
views
Map user profile fields via Glass
I've created a custom user profile and attached it to a user type. When I do a GetUser and tell it I want the profile properties, is there a mechanism to map this data to a Glass model, or is this ...
1
vote
1
answer
1k
views
What are differences between Sitecore Custom Property(Context.User.Profile) and Session?
We are using Session as well as Sitecore Custom Property(Context.User.Profile) for state management.
We don't have much data(only around 20 fields ex- user id,email id etc.) for state management.
...
1
vote
1
answer
552
views
Can't get user roles on content delivery server
In Sitecore 7.2 we're having some trouble getting a value from Sitecore.Context.Domain.GetRoles() on our content delivery servers. It works fine in development and locally but when we deploy to a load ...
1
vote
0
answers
174
views
Store virtual user's roles outside core database
The roles and properties of a virtual user are stored in the ClientData table in the core database by default.
I would like to store them somewhere else ideally in Redis with the rest of shared and ...
0
votes
1
answer
1k
views
User Profile table in SQL
I am saving a user profile and one of the field is "UserLanguage" which is saving fine
Context.User.Profile.Save();
The save method is working as expected but where the User Profile being saved in ...
2
votes
1
answer
113
views
Change password using generate button in User Manager
We added a rule for Password Policy in web.config by changing some properties(minRequiredPasswordLength, passwordStrengthRegularExpression) of SqlMembershipProvider.
Changing password manually in ...
8
votes
2
answers
948
views
Changing the "Invalid Password" message in User Manager
We changed the password complexity for users using a
passwordStrengthRegularExpression
property, it works fine but how can we inform the user about the format of password needed.
For example if ...
3
votes
1
answer
539
views
How to remove admin role permissions programatically?
I tried changing it via
protected void RemoveRoles(User user)
{
using (new SecurityDisabler())
{
UserRoles.FromUser(user).RemoveAll();
UserProfile profile =...
3
votes
1
answer
459
views
Which is the correct way to customize the Commerce User Profile?
I have to add some new property on the commerce customer's profile of a commerce 8.2.1 solution.
I don't have any particular external integration needs.
All the user's data can be stored in sitecore/...
5
votes
1
answer
298
views
Sitecore Express Migration Tool skipping users and security group
Sitecore Express Migration Tool 3.0 upgrade to Sitecore 9.0 is skipping users and security group. the security checkbox was checked.
any idea what could be causing this?
below is the logs
[ 1] 08:...
2
votes
1
answer
347
views
All Users are not being tracked in Sitecore Analytics
In my project on Sitecore 8.2, I am using Contact Facet to identify users.
Problem Definition:
All users are not being tracked, seems some of them are missing in xDB.
Seems xDB and Experience ...
12
votes
1
answer
126
views
Modifying Managed Domains when Adding/Removing Roles
I am using Sitecore version 8.1.160302
I am attempting to implement some logic when users are added to or removed from Administrator roles. The basic idea is that if a user is being added to a role ...
2
votes
1
answer
652
views
How to perform a faster search on User list
I'm trying to fetch a user by its custom profile property. The code times out because there are more than 100000 records. So, I wrote a second method, which seems a little better, but maybe because ...
12
votes
1
answer
506
views
How are Profile Patterns calculated during a visit?
For a customer, we are using Profiles and Paterns to segment visitors.
In the attached screenshot from the Experience Profile, we see something strange in the data:
The sum of the values in the ...
2
votes
2
answers
582
views
GetCustomPropertyNames does not return all profile fields
I am iterating over users of the same domain and all of the users are assigned the same profile.
user.Profile.GetCustomPropertyNames()
There are around 50 profile fields but for some users, this ...
6
votes
2
answers
2k
views
Bulk deleting Sitecore users
By mistake an editor created thousands of sitecore users that now need to me removed. Using the User Manager would take too long as it allows you to remove them one by one.
If deleting the users by ...
4
votes
2
answers
316
views
Renaming a custom field name in User profile
We have few custom fields in User profile. All users are set with data for those custom fields. I am trying to rename a custom field name in User Profile (Core DB) which results in that field value ...
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 ...
2
votes
2
answers
1k
views
How to get Sitecore User Custom Profile Data in JSON Format?
I Created user with custom fields and in User Manger am able to see user custom fields along with data. Are these fields stored in Mongo Db?
I want to retrieve all the custom user profile data into ...
3
votes
2
answers
359
views
Automatically check some ribbon item
Hi, is there is a way to enforce this checkbox value = true each user login ? If enforce not possible, can we globally set check = true for each users?
I found similar question here: Set Default ...
3
votes
1
answer
131
views
Default language AD users 1.3 - Sitecore 8.2.u2
"The security settings for the current language prevent you from seeing this item"
New users from the AD tries to reach the English version of the site, because their Default Content Language is set ...
5
votes
2
answers
187
views
Retrieve favorite pages based on the user profile
At the moment, when a user saves a page as favorite, I'm adding this info to the user profile. However now I want to retrieve the top 5 most saved pages.
I thought of just adding a field to the page ...
3
votes
1
answer
276
views
How to view or render images in Core DB
I have Sitecore User profile pictures saved in Core DB.
In preview mode of a page, the image renders as
http://mysite.org/sitecore/shell/~/media/Profile-Pictures/Demo/author03.ashx?sc_content=core
...
3
votes
4
answers
988
views
Running asynchronous tasks to update user profile
I am looking for the best way to synchronize profile data from an external system.
We authenticate users using an external authentication service. We use the Sitecore virtual user mechanism to log ...
5
votes
2
answers
1k
views
Search not working for Sitecore User Field
Using Sitecore 8.0. The template has a field "Author" of field type "Sitecore User". I have created an Item of this template. On clicking Select for "Author", it shows a dialog - "Associate Sitecore ...
4
votes
1
answer
663
views
Add profile image for Sitecore user
Can we add profile images for the Sitecore user. When a user is created, I can only see the option to assign an icon from a preset list.
My project is a blogging site, where every blogger is a ...
5
votes
3
answers
5k
views
How to programatically update a General Link field in a custom user profille?
I have a template for a custom user profile that has a General Link field type. Here's what I am trying to do:
Sitecore.Security.Accounts.User.Profile.SetCustomProperty("ProfilePhoto", "http://...
1
vote
1
answer
160
views
Sitecore custom user profile is not supporting inheritance?
I'm trying to extend existing User Profile Template with some project specific fields. I thought it will be handy to do it by template inheritance. But seems like only fields directly declared in ...
3
votes
1
answer
77
views
Storing a user interaction with a page outside of session
Alright, I will just dive into explaining the situation:
On a page, we have a component called the Help Message. This component will render above most of the content and continue to show until the ...
2
votes
1
answer
429
views
Using WFFM to create a user to a custom user profile
I'm trying to use WFFM to create a user registration form for my site. I've created a custom domain to put the users in, and added a few fields to a custom user profile. Then I created my form and ...
5
votes
1
answer
242
views
Best practices for user profile one-to-many relationships with attributes
In multiple Sitecore sites I have implemented a separate SQL database for storing information related to the user profile where one-to-many relationships where concerned. One such example is:
UserA ...