Stack Exchange Network

Stack Exchange network consists of 174 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.

1
vote
1answer
13 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
33 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
10 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
33 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
22 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
19 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
22 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
30 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
15 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
44 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
27 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
27 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
42 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
65 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
35 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
35 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
357 views

how to get id from url in lightning component?

Hello! I just want to get an Id through a current page URL in lightning component... How to get this id from the component side? should this work on Aapexpages.currentPage().getParameters().get('Id')...
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
31 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
28 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 ...
0
votes
0answers
24 views

REST call only works on some User Profiles

I use a REST call to get the ID for a global value set for use on a visualforce page. The REST call is working, but when I'm logged in as a standard user I get this error that shows on the page: ...
1
vote
0answers
27 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
27 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
67 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
53 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 ...
1
vote
1answer
110 views

How to get the profile name and role name from User object

We already have a soql query to retrieve the User object (which returns the role id and profile id) was wondering if we could retrieve the RoleName and ProfileName from within the same query instead ...
2
votes
0answers
157 views

Retrieve user's name without Pre-chat form for Einstein Bots

I am creating an Einstein chatbot and I want to greet the user by their name. The Apex class that I have written for this purpose returns "Platform Integration User". An answer to another post says to ...
0
votes
1answer
31 views

Out of Office button

Scenario: I'm the manager and I have an employee. My employee was on a sick leave so I want to put a message on his/her user profile that this employee is on a sick leave. Problem: The problem is ...
0
votes
0answers
23 views

Sharing Case Records with Customer Community Users

We have set up the community in Salesforce and business use case is that whenever the case raises from the external user and assigned it to an internal user for resolution than any action or updates ...
5
votes
1answer
111 views

SOQL returning incorrect value

This is throwing me for a loop. I have a custom field on user, Backend_User__c. The formula is pretty simple: IF( OR( Profile.Name = "API Only", Profile.Name = "Boldchat API Only", Profile....
0
votes
1answer
24 views

Control Picklist value for a specific user

Is it possisble to control picklist values to specific user..? Eg: If I add new picklist value to Account Type, that value should be available only for a specific user
0
votes
1answer
59 views

Create Installed Package Into Business Unit (Account) Via API

We are moving from the old SOAP API to the new REST API to publish into Content Builder. As a result we need to create installed packages inside our clients SFMC accounts so we can get tokens to use ...
2
votes
1answer
159 views

How to give the access to show all calendar events in admin user side in salesforce?

I created calendar event through admin side, It will be showing standard calendar events. Now I created another event through User A, He is standard user profile. But my doubt is User A already ...
1
vote
2answers
259 views

Update User profile in Apex

I have a use case where I need to update a logged in user profile based on some criteria. While doing so in apex I get the below error : FIELD_INTEGRITY_EXCEPTION, Cannot change profile for current ...
-1
votes
1answer
75 views

How to get a list of account record types available based on profile ID

So I am trying to create a feature that will allow users to search external databases to add accounts to salesfoce, and if not found they can create the account from scratch. However the org I am ...
0
votes
1answer
17 views

Do not see Manage Assignments in Permission Sets

I can not find Manage Assignments in Permission Sets. There is just no such button. Why would I expect the Manage Assignments be there? Because it is told on Trailhead that it is there: ... ...
-1
votes
1answer
33 views

Why should one want the password to expire in Salesforce? [closed]

Why should one want the password to expire in Salesforce? Is it the same as a temporary account? Because if the password invalidates after some time that means the user won`t be able to login and ...
2
votes
1answer
78 views

Can't access to User Photo Url when Trigger

I have a problem when I trigger on the User object: I can't get the profile photo url. On this simple code I made a trigger to an User update and I send me by mail the fields FirstName LastName and ...
0
votes
1answer
18 views

date format and phone number format

I have a few user who complained that the date format and phone number format are the US ones. This is creating issues as the number of digits are not the same for phone numbers, and people may ...
0
votes
1answer
45 views

How to create a User Provisioning FLow

I need to create user provisioning on Connected App but there is no particular guide how to go about it. I can only find bits and pieces. Even Salesforce talk about some util packages for some common ...
0
votes
2answers
198 views

How to query the Hierarchical Relationship inside the User Object?

I want to get the Users which report to a particular user (A manager) by using the Hierarchical Relationship inside the User Object. Appreciate if someone can give an example. Small clarification: ...
0
votes
1answer
39 views

If statement based on created by profile name to show value is custom formula field

This new field will be called "Line item Total Test" on Opportunity Product. This Formula is not working- IF(CreatedBy.Profile.Name = "Standard User", TotalPrice), IF(CreatedBy.Profile.Name = "...
0
votes
0answers
30 views

Connect a new portal user with existing contact or Update the User.ContactID with existing Contact.ID

I am trying to create a Portal User without creating a contact and want to link the User with existing contact. But somehow I am unable to do this and now I want to update the User.contactID with ...
0
votes
0answers
15 views

Creating users in Test Class for Batch Class [duplicate]

I have a batch class, which queries users from system and updates them as per some criteria. While writing the test class for this Batch, we create 2 users in system and invoked the Batch Class ...
0
votes
1answer
23 views

Sys admin logging in as Integration user and creating accounts. Should you see the integration user be the account owner

If I have a sys admin logging on as an integration user and creating accounts. Shouldn't the integration user be the account owner and not the sys admin. Does SF look at the IP address when a user ...
1
vote
3answers
1k views

Generate new password and notify user immediately

While creating new users from Salesforce UI, we have a checkbox right at the bottom called Generate new password and notify user immediately. This is set to true by default and sends Welcome To ...
0
votes
0answers
30 views

Map of User Ids and Total Amount of Closed Opps This Month

I have a trigger on Opp, after each insert/update I need to recalculate a user's sales for the month. I have the user set and I can do an aggregate query, but how do I connect these in the map? Here ...