Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [user]

A person who uses the system, often more specifically a person with a user licence assigned.

0
votes
1answer
14 views

Create a Community User & Contact, then assign to an existing Account

I am a little bit new to salesforce & APEX AND need help with the following, I want to create bulk community users & then assign them to existing accounts through APEX code/classes (for ...
1
vote
1answer
14 views

“Mobile User” Extract or report

I am looking to pull a report/extract that says which users have the following checkbox marked as true. I have tried getting this data in multiple ways, but can't seem to find the object this field is ...
2
votes
2answers
27 views

Considering the Order of Execution, Can a Manually Entered Record through the UI ever be in a Queue Before Insert?

Background: I've been building a Lead round robin system to evenly distribute work. It checks for records owned by queues, and assigns them to the next user available in each queue. I opted to do a ...
-1
votes
0answers
22 views

Case owner should be blocked

I am writing a validation rule to block a user to be the case owner. the scenario is as follows if case owner is "Kevin" and record type is "Intake" the record shouldn't save. this is what i wrote ...
4
votes
1answer
34 views

Is there any way to change definition of default user created for scratch org? [duplicate]

Is there any way to change definition of default user created for scratch org? I would like the default Administrator user to have properties UserPreferencesUserDebugModePref ...
0
votes
0answers
27 views

How can I validate a Password during the creation of a new User in Apex?

I would know if there is an Apex method to validate a Password during the creation of a new User in Apex. I found the method Site.validatePassword(user, password, confirmpassword) but it's available ...
2
votes
1answer
38 views

Sending email in sandbox post copy

When I refresh a sandbox I have a class that runs to fix some things like email addresses and custom settings. I've also been asked to email the developer the new org ID so that their testing ...
1
vote
1answer
22 views

Role hierarchy not having Partner Manager and Partner Executive Role

I created a user by convert lead to contact and then enabling the partner account and enabling the partner user. I was able to create the user but when I edit the user to select a different role I ...
0
votes
0answers
10 views

Community User not able to view 'Upload file' button and chatter access

We using community with 3 role setup. Created an Account with Four contact records. All four contacts are enabled as a community user. In that two users are assigned to customer Executive and another ...
0
votes
0answers
16 views

Create Salesforce Community User using Rest API [duplicate]

I am trying to figure out if it is possible to create a Salesforce Community User using the REST API. I would use a kind of Site.createPortalUser() method to create the Account, Contact and User in ...
0
votes
1answer
18 views

Given a list of user ids, how can I get these users profiles?

All I've been able to find is the method UserInfo.getProfileId() which will only get the logged in user's profile ID. I need to get the profile of a list of users.
1
vote
1answer
15 views

How to get the Email field in a SOQL query mapped from a custom Opportunity field?

I have custom field in the Opportunity object that is a Lookup and maps the Opportunity object to the User object. I'm trying to write a query that retrieves fields from the Opportunity, and also ...
0
votes
0answers
6 views

Profile Indicator(Image) next to User Name in Chatter

The Requirement is to display the image or icon next to the user's name in chatter indicating if he is the Employee or Manager or customer user with different icons Is it achievable in standard ...
0
votes
0answers
21 views

Check via apex if current ORG is on deployment [duplicate]

I have a class that update users on success but whenever our release team is doing a deployment on the org this action still retrieves success but doesn't make the update. Is there a way I can check ...
2
votes
0answers
19 views

What is the API Name for Accessibility Mode (Classic Only) in User Settings?

What is the API Name for Accessibility Mode (Classic Only) in User Settings? I want to this via data loading for all the users. How do I do that?
0
votes
1answer
46 views

Approvals - Let the submitter choose the approver manually

Does anyone know if there is a way of restricting which users show in the drop down list if you select this option? We have a client who has 70 users, but only 12 of those are approvers. I would ...
0
votes
0answers
26 views

Unable to update fields on community user record

I am trying to update a field on User record for community user but I am getting insufficient privilege error. I am able to update the same field on all the users except this one profile I don't have ...
0
votes
1answer
23 views

Salesforce Identity Connect - Change user license from Salesforce Platform to Identity

we've just installed Salesforce Identity Connect so that our users can connect to Salesforce using their Microsoft AD credentials. In the future, we are going to have 2 types of users : type 1 users,...
0
votes
2answers
30 views

Freezing and De-Activating a Salesforce Service Cloud User Account Through the REST API

I'm trying to use one of our existing enterprise user administration tools to also provision and manage Salesforce Service Cloud user accounts using the Salesforce API. I am able to provision a user ...
0
votes
0answers
44 views

Process Builder Post to Chatter as Any User

Is there a way that upon editing/saving any user record that I can post to chatter as that user what his Profile is? Example: I, the System Admin Edit User 'John Doe'. ((I change John Doe to ...
2
votes
1answer
29 views

How to prevent flow errors from being sent to my email address?

I did some consulting for a company a couple of years ago, and I set up some processes in Process Builder. Now it seems that they hired another consultant to customize other things, but sometimes I ...
1
vote
1answer
31 views

Refresh currently logged in user information

We have a fairly customized Salesforce Community, to say the least. We allow certain actions to take place, and some of those actions change the current user's profile from a lower level profile to a ...
0
votes
1answer
30 views

Does Salesforce or any third party maintain a list of which formulas work in list views?

I am looking for a list of formulas that work in list views. For example, you can set "last login" = LAST QUARTER on the user list view, which is very helpful for generating a list of users who have ...
0
votes
1answer
25 views

User Type Guest

Where and what is User Type from Guest so that I can create an exception in my rule? Error Message: "Changing User Type from Guest to Profile External Client is not allowed" Edit: I found it in my ...
1
vote
1answer
28 views

Customer Community licence is not allowing to give view all access on account

Organization-wide default is Public read/write. I want a community user to access all account from community. I tried to give view all access through permission set but getting an error - . The ...
0
votes
1answer
56 views

Trying to create a new User, cannot create new user because of profileID

I am trying to create a new user inside of Salesforce using nforce. However, every time I create the user I get the error: FIELD_INTEGRITY_EXCEPTION stating Profile ID: id value of incorrect type: ...
0
votes
0answers
18 views

How to update community user username based on the email

I have a community with community users created from contacts. I want to have a process which updates user record if a related contact record is updated. It works for Email, Phone and other fields, ...
0
votes
1answer
37 views

Field That Records Former Profile?

I'm trying to create a Field on the User Object that will record the users former profile. We're creating a Process Builder that will change the users Profile if the user is set to inactive but we ...
1
vote
1answer
50 views

Accessing User records in Sandbox: Error ID: 429448537

This is mostly by way of information only. Some of our user records in Sandbox have an issue that causes the error below: It only affects the viewing of the user's page in the admin area, editing ...
0
votes
0answers
25 views

How to remove user object record edit permission for Community users

I have some community users with license customer community. The issue I am facing is that they are able to view other users and edit and modify their details. Is there any way I can stop them from ...
0
votes
1answer
30 views

Connected App running user

I've created a connected app for integration usage and I put a specific Sys Admin running user for this - But when data is sent via the Web Service that the integration created - Its still put me (my ...
0
votes
0answers
128 views

Lightning component failing for users of specific profiles?

I have faced this issue for the first time ever. I have a custom button on clicking of which a lightning component gets open. It is working fine for system admin + user of specific profiles. But for ...
0
votes
0answers
21 views

External User Login NOT Successful but Salesforce registers as Successful

We have a Community portal for external users. When an external user first registers, they must set a password. After doing so, they are redirected to the login page for the Community. They then enter ...
0
votes
1answer
140 views

Export Users' list

Is there a way to export the list of users that we create in Marketing Cloud. I see an import option there, but don't see an export option. Either it is disabled for my account or it is not available ...
0
votes
1answer
34 views

How to test email notification to the Administrator?

I can't insert right profile to test user like an administrator and don't know how to test it right. Help me please. public void notifyAdministrator(String errorException){ User user = [SELECT ...
1
vote
3answers
31 views

Change Sandbox Email

In a sandbox, how do I change the email back to the sandbox example email? Current: Jsmith@gmail.com I want to change it back to: Jsmith=gmail.com@example.com How do I do this without the ability ...
0
votes
2answers
156 views

How to get remaining session time in Apex for current user

I have 2 questions: I know we can configure session timeout, but how can we get the configured session timeout value in Apex code? Does Salesforce provide helper function to calculate the remaining ...
1
vote
1answer
194 views

Deployment failing with “Could not resolve list view column: CORE.USERS.SAML_SUBJECT” on the User object

I am trying to deploy metadata to dev sandbox to another sandbox using Jenkins. I am getting an error as below: [sf:deploy] Component Failures: [sf:deploy] 1. objects/User.object (User....
0
votes
2answers
53 views

Loging as another User in Lightning

While login as another user the page gets refresh and lands on my current page instead of logging as the other user. but sometimes it works. Is there any work around for this in lightning?
0
votes
2answers
36 views

Non-admin users in Developer Edition Org

I have set up a user with profile with limited access rights in a Developer Org. I need the user to be able to execute Apex classes, but not to have access to the source code. Is this possible? When ...
0
votes
1answer
17 views

Do we need separate authentication grant to access different salesforce object?

We have a soql query which we run against the api that works on User object Select Id,Name from User; we are trying to enhance the query to retrieve the profile.name and role.name using the same ...
0
votes
1answer
32 views

How many records could we extract from SOQl query on User object?

We are trying to run a SOQl query to extract the profileName and userRoleName corresponding to id's in the given list SELECT Id,profile.name,userrole.name FROM User WHERE Id in ('1','2','3','4'...
0
votes
1answer
62 views

How to extract only profile.name and userrole.name corresponding to a particular User object

We have an existing Soql query SELECT Id,Username,LastName,FirstName FROM User we are trying to enhance this query to retrieve profile.name, userrole.name corresponding to each user as per How to ...
1
vote
0answers
33 views

Indirectly reference users in workflows, process builder, etc

What are our options for abstracting away references to user accounts in Workflows and process builder flows? I have consultants delivering to me workflow metadata that hardcodes user emails or user-...
1
vote
2answers
31 views

How to customize the email Template of the User Email address change Email

The Users want the content of the notification mail which they receive on changing the Email address to be modified. Or they want the From Email Address to be changed to a different one as some of ...
0
votes
2answers
296 views

What access does have to user manager in a queue?

Scenario:- When you see a queue on UI, there are only 9 users. There is one button to see all user i.e View All User When I click on it, it shows me a list of around 55 users with most of them having ...
0
votes
1answer
99 views

How to add more number of users in the custom object record?

UseCase: There is custom object called Business Meeting with the fields start time, end time, Date, Subject. In this I also want to add users who are all attending the business meeting while creating ...
1
vote
1answer
14 views

user specific record visibility

Let suppose I have created one record . On this record there is lookup to user. whichever user I will select on this record that user able to see the record when he login in salesforce. How to acheive ...
0
votes
1answer
30 views

Create a community in test without use seeAllData=true

do you know if it is possible to create a community in test class without to use the feature seeAllData=true I would like to create a community, create community users and assign users to the ...
0
votes
1answer
31 views

How to reassign an object to the user with Role 'X'?

We have a few users with Role 'X'. We need to reassign an object to one from these users, if it's created not by one of them. But my loop choose the last one and change owner even if owner is already ...