Questions tagged [user-management]
For Sitecore-specific questions related to the storage and/or management of client and end users, user data and membership provider integrations
48
questions
4
votes
1answer
63 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
0answers
30 views
Manually add/update a single record in an index
I've created a custom index to store users in based on the code found at https://gist.github.com/jorgelusar/150a607dcf96acb54b60, but because there's no Sitecore item to trigger the usual indexing ...
1
vote
1answer
47 views
Login virtual user to Sitecore Content Editor
Sitecore 8.2
I need to login virtual user with name like 'virtualUser2000' (not 'sitecore\virtualUser2000') to sitecore content editor.
My code:
var virtualUser = _authenticationManager....
-3
votes
1answer
45 views
How do I edit content with a non-admin user?
I created a new user so that user can edit content
For example the user is Chelsea. I made it and I tried to give full access
So it's the same as admin. This is only for tests. I logged in with the ...
1
vote
0answers
78 views
Roles not mapping correctly using Federated Authentication
I've run into a dead end with Federated authentication in Sitecore 9.1. I've implemented a IdentityProvidersProcessor using Microsoft.Owin.Security.OpenIdConnect to be able to authenticate using users ...
1
vote
0answers
48 views
How does a virtual user differ from a user authenticated using a custom membership provider?
Just wondering, what is the difference between a Sitecore virtual user and a user authenticated using a custom membership provider(and respective custom profile and role provider)?
I have been ...
6
votes
2answers
77 views
What role to add to show just the presentation details [duplicate]
I'm creating roles for the Author user who should be able to add components to the page (along with creating & editing content).
This user has only two roles now - Sitecore client authoring & ...
2
votes
2answers
110 views
Check if a user is disabled
We have some custom code to send emails out when submitting an item from one workflow state to another and it seems to be sending items to users who have been disabled. I've been trying to find a way ...
0
votes
0answers
30 views
After migrating users the user Ids are different
I'm trying to migrate users to another instance. Both the source & destination are the same - v8.2.
There is an option Serialize users and roles in the Domain Manager dialog. Using that I have ...
5
votes
1answer
87 views
Run powershell script when new user is created
So, I've been successful in creating a powershell script that modifies the MyToolbar to what we need based on the user's domain:
$ribbonCommands = "{1DDBC2B7-69B4-44A0-AAF9-895AB51B1F00}|{D87FDF3B-...
1
vote
1answer
42 views
Content authors to see their own items only in workbox, not from other authors
Is there a way to implement the workflow and user roles for Content authors to see their own items only in workbox not from other authors.
0
votes
1answer
51 views
How to define a new user role that can create and approve their OWN content only?
I have a requirement like a user should create and approve their OWN content only and it should not accessible that created/updated Sitecore items to other users.
Ex: user1 has created a test1 page ...
0
votes
1answer
50 views
The “Sitecore Client Users” role and concurrent user limit?
Let's say your license limits you to 10 concurrent CMS users at once. If someone's user account is in the Sitecore Client Users role, and they log in with that account, do they count as a concurrent ...
1
vote
1answer
34 views
Restricting which roles a role can assign
So, I've set it up so that a given role can create new users and assign them roles. What I really would like to do is to restrict which roles that role can assign. Is there a way to do this? If it'...
1
vote
0answers
175 views
Automatically attach user to external identity
On SC 9.0.2 we want to map an existing user in sitecore automatically to an external identity provider, but get the following error:
[InvalidOperationException: Unable to create a user. Reason: ...
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 ...
1
vote
1answer
112 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
1answer
116 views
0
votes
1answer
328 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
3answers
132 views
How to Transfer Users with active password policy
I want to transfer users from our QA environment to the PROD environment on Sitecore.NET 8.2 (rev. 170728).
It is totally fine if the users are deactivated and have a random password set. ...
4
votes
2answers
467 views
Administrator access as a role
When you edit a user in Sitecore, such as Sitecore\Admin, there's a checkbox to set the user as an Administrator. This checkbox is not available on roles. How do you set a group of users to the ...
0
votes
2answers
546 views
Is there a way to add Sitecore admin into core database?
By mistake I have deleted the Admin user from Sitecore(9) User Manger panel and now unable to login with default user id and password i.e admin/b.
I have run the below query but no record found in ...
2
votes
1answer
36 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
505 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
317 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
67 views
Sitecore Custom Role based User gets disabled on package installation
I created a package of users and roles from local development environment of Sitecore.NET 9.0.1 (rev. 171219).
When this package is installed on Azure , users got disabled.
I know we can enable them ...
1
vote
0answers
145 views
Unable to delete commerce users
We are using Sitecore Commerce. Users who visit the website can register and are created in the domain CommerceUsers.
We moved all data from our PROD to STAGING and this also included users.
Now, in ...
0
votes
0answers
163 views
Sitecore disable user event
Does anyone know is it possible to subscribe to an event about disable user throw sitecore user management .
it is a lot of events in sitecore about it, but user:updated event not raised if a user ...
1
vote
1answer
174 views
Getting Error while creating the Virtual User
We are using ADFS Authenticator module, when we are trying to create a virtual user, we are getting the below error:
Expecting state ‘Element’.. Encountered ‘Text’ with name ”, namespace
”.
...
1
vote
1answer
473 views
Virtual user custom properties missing on CD server
We have 2 load balanced CD servers. Session affinity is disabled on the load balancer and we are using MongoDB for session storage.
User authentication is performed on a separate site. They are ...
-1
votes
1answer
187 views
“Application access denied.” when viewing roles
I am getting an Application access denied. message when viewing the roles, when trying to edit a personization rule ("where the current user is a member of the specific role").
When I click specific ...
12
votes
1answer
500 views
Subscribing to EXM Email: How do you manage multiple contacts using the same computer?
We are currently working on a project, where we implemented a registration process using WFFM, EXM and Engagement Plans. We are facing one specific issue, regarding the contact identification with EXM....
1
vote
3answers
340 views
Is it possible to edit/customize columns that appear for User Manager?
Upon accessing User Manager, there are eight default columns: User name, Domain, Fully qualified name, Full name, Email, Comment, Language, and Locked.
Is it possible to add/remove columns to display ...
5
votes
1answer
144 views
Can we increase max size of the search box in usermanager?
Can we increase max size of the search box in usermanager? which currently only 20 character.
I am trying to implement this email search using link
https://sitecorecontextitem.wordpress.com/2014/11/...
6
votes
2answers
481 views
How to Kick a Sitecore User Programmatically
I tried to Kick a Sitecore user using the command below, but it seems it does not work
Sitecore.Web.Authentication.DomainAccessGuard.Kick(sessionID);
Even if I passed the current session ID, it does ...
3
votes
1answer
50 views
Identify Administrators in Javascript
I am modifying the existing javascript for the SelectRoles modal window, and I would like to add a piece of code to check if the current user has the "Is Administrator" checkbox checked. I need to ...
3
votes
1answer
705 views
create custom role with login
What access in security editor should i give when i want a role to have login capability.
I want to create a new role that is NOT a member of any other existing roles (like client author or Author ...
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 ...
2
votes
1answer
342 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 ...
5
votes
3answers
1k views
How to add domain name of Programmatically added Users in Sitecore
I followed the below article to create users programmatically
Sitecore Code Samples Programmatically Add/Edit Users
http://sitecorecodesamples.blogspot.in/2010/11/programmatically-addedit-users....
3
votes
1answer
93 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 ...
4
votes
2answers
387 views
What Does the “Reset Settings” button in the User Manager do?
Looking in the User Manager, I see a "Reset Settings" button under the "Change Password" button in the ribbon, and I cannot find any information online (docs or blog posts) on what it actually does. ...
2
votes
1answer
378 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 ...
3
votes
3answers
317 views
How to put restriction on Sitecore user to edit only final layout
Is there any way to restrict a sitecore user to edit only final layout?
they still should be able to view the shared layout.
I tried doing below changes through role manager.
switched to core db
...
7
votes
2answers
888 views
Can I hide disabled users in the User Manager?
We have Sitecore pulling user information out of Active Directory, and since a chunk of these are marked as disabled (University setting, and a chunk of our students get accounts for the time they're ...
4
votes
2answers
613 views
Securing a page with item permissions without redirecting the user away
Is it possible to set restrictive extranet group permissions on a page-level item, and still have that page render, albeit differently, to users without the correct permission i.e. present a call to ...
15
votes
3answers
4k views
How to unlock the Sitecore admin user account?
I know you can unlock normal Sitecore users from user manager by login in to Sitecore backend, as admin user.
Is there any way to unlock Sitecore admin user, when the user account gets locked?
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 ...