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

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

Error : Transaction (Process ID 301) was deadlocked on lock resources with another process and has been chosen as the deadlock victim

I am getting the error Transaction (Process ID 301) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction. while doing performance ...
Swati Gupta's user avatar
  • 2,982
1 vote
4 answers
56 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?
NAli's user avatar
  • 875
1 vote
2 answers
50 views

how to restore deleted user account through sitecore

Could you please share, how we can check, if who has deleted user account and how we can restore the deleted user account in Sitecore, without writing any code. Thanks.
PKH's user avatar
  • 475
0 votes
1 answer
32 views

Is there a role that grants read only access to the entire sitecore backend?

I need to create a user for an external web agency. They should have read only access but to the entire backend. How do I do that?
Mathilde Kure's user avatar
1 vote
2 answers
191 views

Any hints on how to clean up in the own created roles? [closed]

We have an old Sitecore installation, and I need to clean up and consolidate our own created roles. We have partial overlapping roles and too many to make them useful. So to be more precise-how do I ...
Kurt Bilde's user avatar
0 votes
2 answers
195 views

Template item not displaying role based user - 10.2 [duplicate]

I created the new user and assigned designer, author, and content authoring roles to the newly created user. Whenever I logged in as a new user some of the template items is not visible in the content ...
Rameshkumar's user avatar
0 votes
2 answers
295 views

Does Sitecore XM Cloud support user membership or other complex logic implementation? [duplicate]

It is known that XM cloud is based on a SaaS cloud platform. We are wondering if it supports user membership or similar functions. If user membership is supported, could you please explain how it ...
Alexander's user avatar
  • 117
0 votes
1 answer
42 views

Which event to extend when a role is added to user

I would like to log when a role is added or removed for a user. But none of these methods are being triggered on such use cases. patch.config: <sitecore> <events> <event name=&...
sukesh's user avatar
  • 3,109
1 vote
1 answer
453 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 ...
user1566783's user avatar
0 votes
3 answers
240 views

Is adding a Domain in config necessary while creating users programmatically

I have not added my custom domain in Domains.config. I'm able to create the users programmatically by passing the domain name as a hardcoded string to the method. The users are listed in User Manager....
sukesh's user avatar
  • 3,109
2 votes
3 answers
583 views

Roles get removed for AD login

We are using Sitecore 10.1.3 PRE. The Azure AD login is setup only for the PRD environment. A particular user is unable to login with AD. On login, the error says You do not have access to the system....
sukesh's user avatar
  • 3,109
0 votes
1 answer
132 views

Get users from 7.2 - throwing error in Sitecore PowerShell

I am using 7.2 Sitecore version. There I need to fetch users using PowerShell script. I have tried multiple combinations or filters to run for instance - Get-User -Filter * I get an error saying - ...
SummiJ's user avatar
  • 27
0 votes
0 answers
139 views

How to create AD User in sitecore via custom API?

The Membershipprovider doesnt seem to create an AD user from custom c# API. While logging in via Azure AD sitecore automatically creates the AD user and maps the roles as per the transformation rules....
sumangala nair's user avatar
2 votes
0 answers
254 views

How to handle two user sessions at the same time in Sitecore

We have a Sitecore MVC website. The Sitecore version is 9.3.0. As of now, we have a login functionality on the website. We use AuthenticationManager.Login method and pass 3 parameters: username, ...
Thanoj's user avatar
  • 88
2 votes
1 answer
253 views

Unable to delete user programmatically in sitecore 9

i am trying to delete extranet users through code. (same functionality that is in user manager) Code: User user = User.FromName(username, true); user.Delete(); i am not getting any error but user is ...
AshKher's user avatar
  • 23
2 votes
3 answers
457 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 ...
Shrad's user avatar
  • 303
0 votes
1 answer
448 views

How can I change Username and Fully qualified name fields for the users programmatically? [duplicate]

I am trying to write a code that changes the username and the user quilfied name but all the fields I found were read-only, any help?
Osaid Alaraj's user avatar
5 votes
2 answers
790 views

Virtual user persisting Roles after logout

I am trying to login a virtual user for my application and have assigned roles to this virtual user. var virtualUser = Sitecore.Security.Authentication.AuthenticationManager.BuildVirtualUser(userName, ...
Shaurya's user avatar
  • 457
1 vote
1 answer
150 views

Sitecore allow item to access only by Owner

I have a requirement from one of our clients related to Sitecore security roles. The requirement is that an item can be visible only to the owner of that item and only they have the access to edit the ...
Gowthamaraja Eswaramoorthy's user avatar
1 vote
1 answer
249 views

Assign rights to create new version of an item if a user does not have write access

I have a basic approval workflow set up with three states (Draft, For Approval and Published), and two basic user types that can work on an item in this workflow (Author and Editor). An author can ...
Mitchell's user avatar
1 vote
2 answers
413 views

I packaged a bunch of roles but when seen in next environment, the security access and options did not translate in the next environment

I spent a good deal of time creating a series of roles to highly limit access to content items depending on the role. I did not want to go through the same exercise again when I moved from the DEV ...
Carlos Rodriguez's user avatar
3 votes
0 answers
138 views

Add a Buyer Role to a User programatically

Imagine i have "MyDomain\Buyer" role in Role Manager, i want to get that role from role manager and add that role to a user programmatically using c#. can any one let me know how to do it. i ...
Shrad's user avatar
  • 303
2 votes
1 answer
382 views

Sitecore users are present in core db - [aspnet_Users] table, but not shown in User Manager wizard

We migrated our Sitecore 8.2 initial release to Sitecore 9.2. In sitecore 8.2 initial release we had sitecore users synched with AD(using LDAP ) Since Sitecore 9.2 will not support AD, we removed ...
PVM's user avatar
  • 963
0 votes
0 answers
86 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 ...
ebug's user avatar
  • 307
0 votes
0 answers
106 views

user not created in user manager using Federated Authentication

I'm using sitecore 9.1.1. I've implemented federated authentication and it's working successfully. However, i have an issue that user creation always fails and i found the below error in the logs. "...
AME's user avatar
  • 679
1 vote
1 answer
405 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). ...
Ken McAndrew's user avatar
  • 5,102
5 votes
1 answer
175 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 ...
Vlad's user avatar
  • 1,420
1 vote
1 answer
328 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....
Vlad's user avatar
  • 1,420
-4 votes
1 answer
142 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 ...
moses toh's user avatar
2 votes
0 answers
577 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 ...
Gralov's user avatar
  • 121
1 vote
0 answers
76 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 ...
nari447's user avatar
  • 407
6 votes
2 answers
1k 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 & ...
sukesh's user avatar
  • 3,109
2 votes
2 answers
808 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 ...
Levi Wallach's user avatar
  • 1,085
0 votes
0 answers
68 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 ...
sukesh's user avatar
  • 3,109
5 votes
1 answer
458 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-...
Levi Wallach's user avatar
  • 1,085
1 vote
1 answer
196 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.
Ramesh Ch's user avatar
0 votes
1 answer
286 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 ...
Ramesh Ch's user avatar
0 votes
1 answer
463 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 ...
Justin's user avatar
  • 311
1 vote
1 answer
58 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'...
Levi Wallach's user avatar
  • 1,085
1 vote
0 answers
722 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: ...
Luuk's user avatar
  • 375
2 votes
0 answers
222 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 ...
ebug's user avatar
  • 307
1 vote
1 answer
532 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 ...
Sean T's user avatar
  • 240
1 vote
1 answer
171 views

Create new user with JSS

Is there any API by which can create a new user in Sitecore with JSS?
Антон Достоевский's user avatar
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 ...
user avatar
2 votes
3 answers
335 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. ...
Markus's user avatar
  • 309
4 votes
2 answers
2k 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 ...
Justin's user avatar
  • 311
0 votes
2 answers
2k 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 ...
Shailesh's user avatar
  • 717
2 votes
1 answer
107 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 ...
user1032's user avatar
  • 137
8 votes
2 answers
910 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 ...
user1032's user avatar
  • 137
3 votes
1 answer
522 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 =...
user1439090's user avatar