Questions tagged [user-profile]

For questions related to Sitecore user profiles, including custom and native profile types, properties and storage

Filter by
Sorted by
Tagged with
0
votes
0answers
39 views

Custom user-profile property doesn't update value in other threads

I have created an attribute for some of my api endpoints which performs checks on one of the current users custom properties. Depending on the result, it also changes the value (e.g., saving a token ...
1
vote
0answers
52 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
0answers
81 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
1answer
45 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
3answers
168 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 ...
1
vote
0answers
43 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
1answer
35 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 two profile cards, one on microsoft page and one on apple page. Now, I want ...
-1
votes
1answer
188 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
1answer
87 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
0answers
13 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
0answers
33 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
1answer
186 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). ...
4
votes
1answer
108 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
1answer
128 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
1answer
30 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
1answer
792 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
1answer
404 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
0answers
137 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
1answer
719 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
1answer
45 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
2answers
713 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
1answer
422 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
1answer
409 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
1answer
287 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
1answer
312 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
1answer
115 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
1answer
566 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
1answer
464 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 ...
1
vote
2answers
478 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
2answers
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
2answers
267 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
3answers
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
2answers
904 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
2answers
296 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
1answer
103 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
2answers
124 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
1answer
251 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
4answers
778 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
2answers
726 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
1answer
592 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
3answers
4k 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
1answer
133 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
1answer
68 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
1answer
411 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
1answer
195 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 ...