Questions tagged [user]
A person who uses the system, often more specifically a person with a user licence assigned.
630 questions
0 votes
0 answers
20 views
Activating Dynamic actions on user object
When I activate the Dynamic actions in the Standard User Object, I can't seem to change what actions appear in the highlights panel of the page. It always show the same actions, no matter what I ...
0 votes
1 answer
53 views
How to Block Record Updates with addError() but Still Send Notifications to Users in Salesforce?
I’m working on a Salesforce trigger where I need to enforce a validation rule that prevents users from modifying certain sensitive fields by using addError() in a before update trigger. At the same ...
0 votes
1 answer
74 views
How to remove Location section in Customizable User Settings component?
We have Customizable User Settings component in our community. I want to remove the Location section which contains Locale, Language fields from User object. I've tried check FLS for the fields, but ...
0 votes
1 answer
49 views
Login is not working when I use Site.createPortalUser(newUser, newAccount.Id, newPassw,false) but working when using system.setPassword
I am creating a User using Site.createPortalUser(newUser, newAccount.Id, newPassw, false);. The User is created successfully, but I am unable to log in using the provided password. However, if I call ...
0 votes
0 answers
113 views
how to send the user an email when his/her user account is created in flow?
Please help. Thank you! I'm trying to create a flow to send the email notification to the user when the user account is created. Here is my Start in the Record-Triggered Flow: My struggle is Email ...
0 votes
1 answer
390 views
How can I inline edit Users on a custom list view?
I am trying to use the Enhanced User List View to edit multiple users. I have the setting enabled, and can edit User records inline on the default "Recently Viewed" list. However, when I ...
-1 votes
1 answer
184 views
Store User Login and Logout timestamp
I have a requirement where I want to store when a user logins and logouts. The catch is if one session is active I should not be allowed to login into another session. Logout should also be captured ...
2 votes
1 answer
327 views
Running User for a Schedule-triggered flow with Wait element succeeded by an Apex action
I have a schedule-triggered flow with a Wait element (wait 0 hours) After the Wait element transpires, an invocable Apex is called Setup > Process Automation Settings > Default Workflow User ...
1 vote
0 answers
208 views
Users are automatically added to a case queue in Salesforce without any apparent automation
I’m experiencing an issue with queue management in Salesforce. Currently, I manage several case queues, each associated with a group of users who share records among themselves. A few months ago, I ...
0 votes
0 answers
131 views
Salesforce User Object do not update LastModifiedDate and SystemModStamp when LastLoginDate is updated
I just observed that if User.LastLoginDate changes every time user logs in. But the LastModifiedDate and SystemModStamp fields remain unchanged when the User.LastLoginDate is updated. Salesforce's ...
1 vote
1 answer
998 views
User Licenses concern
Just a simple question. My boss would like to maximize all of the licenses available in our org. I told him that the Salesforce license is the only thing we just need to use for our users and some ...
2 votes
2 answers
188 views
Test Class Passes, but Should Fail
I have code that is supposed to share a custom object record with a Customer Community Plus user when that user is created. This should happen in the after insert user trigger. Without using a future ...
0 votes
1 answer
193 views
Business Hour Time zone should we have to change in every day light savings time
If timezone is changed in "Company Information" for a Salesforce Org (Org-Wide Time zone) in a particular Day Light Savings Time(Suppose November 3, 2024), then a particular Business Hour ...
0 votes
0 answers
169 views
How to get a UsedLicences count for login-based Digital Experience licenses?
When I query the UserLicense object using: select Id, Name, Status, LicenseDefinitionKey, UsedLicenses, TotalLicenses from UserLicense where Id in ... I get this result: where the UsedLicences count ...
0 votes
1 answer
175 views
Strange error when deploying Experience Cloud Site related to user 8renmai?
We are receiving a strange error when deploying Experience Cloud Site Error <ExperienceCloudSiteName> Cannot find a user that matches any of the following usernames: <[email protected]>.<...