Questions tagged [user]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
23 views

User Password field max length

What is the maximum number of characters for the password field on the User object? I cannot find it in the documentation anywhere, and this question seems to imply its: 1333.33333333 Is that ...
0
votes
1answer
19 views

Custom Profile Users are unable to view other users in org, there is no “View All Users” flag in Profile

In one of the Org, Custom Profile Users are unable to view other users in org, and there is no "View All Users" flag in Profile. In other Orgs, Same profile users can see other users even when there ...
0
votes
1answer
13 views

Prevent Specific Profile/User access to access User Settings

is it possible to prevent specific profiles or users to access their personal User Settings (or at least hide some sections such as "Display & Layout", "Email", ecc) Thank you
0
votes
1answer
31 views

Allow Profiles To ONLY See Records Created By Their Profile [closed]

I have been put to the task of cleaning up our companies Salesforce org. We have lots of apps on it, and each profile has it's own org. So the main issue I am running into is other profiles seeing ...
0
votes
0answers
11 views

How do you add permissions for creating a geofence message and new geofence points via Users -> Roles

I want to assign a role with permissions to send push messages and geofence entry and exit messages. Currently the role can set up and send messages but can't set new geofence points, I am have ...
0
votes
0answers
36 views

Login limit exceeded error for an integration user [duplicate]

Background - One of the external application (in Java) calls Salesforce resources. Integration user generates OAUTH token through Username-Password flow and uses it to access SF resources. In ...
0
votes
1answer
17 views

Deactivate User In production, will i be able to deploy changes from Sandbox?

I have a Sandbox created by a user George. Let's say i want to make this user inactive in production. Documentation says that i will be able to login to Sandbox with this user, if Sandbox is not ...
0
votes
1answer
26 views

Button “Disable Customer Account” on Account does not fire trigger on User record

I try to set up a trigger that modifies the email adress on the User object once I hit the button "Disable Customer Account" on Account. I have seen the discussions where you should use "...
0
votes
1answer
59 views

Ant Invalid username, password, security token; or user locked out

I am using ANT to build an xml file but get the following error: Error:[LoginFault [ApiFault exceptionCode='INVALID_LOGIN' exceptionMessage='Invalid username, password, security token; or user ...
0
votes
0answers
12 views

Impersonating community user - delegated admin(?)

Is it possible to impersonate community user by normal (non admin) sfdc user? Searching through the web I've stumbled upon couple of ideas how to meet that kind of requirement which were consisting of ...
2
votes
0answers
35 views

Site.createExternalUser not sending out welcome email to user

I am creating a new community user via an apex controller using Site.createExternalUser(user, accountId, password, sendEmailConfirmation) method. The community user is getting created ok but I am not ...
1
vote
1answer
39 views

Dynamic comparison of Profile id and userid fails in trigger

How do i correctly assign the userid and profileid to make a dynamic comparison. ? // if i hardcode the owner's profileid and userid the IF gets evaluated to true, however if i dynamically compare ...
0
votes
1answer
38 views

Mixed DML Error in Future method?

Whenever an user is inserted, I am assigning the license(UserPackageLicense) through Future method and also sending an email if we doesn't have enough license number. But I am getting the following ...
3
votes
0answers
32 views

Edit user Profiles

I have a problem with some orgs. Normally, I can edit user profiles, e.g. to activate a connected app. Now, I have an org, where these edit-Links aren't there (only delete and duplicate). I'm logged ...
0
votes
1answer
170 views

Flow Builder - Lookup Input Component No Records Returned

I am trying to use the lookup input component in a flow to find a user record by email. Lookup component setup screenshot below where EmailAPIName = Email and UserAPINameConst = User and are both of ...
0
votes
2answers
29 views

Can I use LastLoginDate standard field to determine users who log in to Community for the first time?

I checked the documentation for the User object and didn't find any explanation on how the LastLoginDate is managed. The description was not helpful: LastLoginDate The date and time when the ...
11
votes
2answers
112 views

How can you access display languages via Apex?

I am trying to populate a picklist with my salesforce orgs displayed languages (viewable through setup > Company Settings> Language Settings). There is a way to access all available languages (...
0
votes
0answers
15 views

User Provisioning SCIM flow input value is missing

I have installed User Provisioning Connector Package and this created a default SCIM userprovisioning flow. However, when I open the Apex action, all the input values are missing. It also does not ...
0
votes
0answers
22 views

Need user preferences feilds API name

Helloo All,I need Help As i am Creating a Custom Profile Page with Email notification Checkboxes in My Page.But i am failed to get some API names of Some feilds given below Selects my answer as best ...
0
votes
1answer
37 views

Get field value User in Report on Custom object

Is it possible in Saleforce lighting to have a report on a custom object and get a field value from the user object without adding a formulafield on the custom object or is there a way to add the ...
1
vote
2answers
52 views

SOQL With Owner Fields cause Errors

I'm trying to receive some fields from Owner in a custom object. Some of the standard fields are retrieving perfectly and some throws me an error. Example: [SELECT Name, Fields__c,Field2__C Owner....
0
votes
2answers
78 views

How do I create a Community User in apex code?

I need to create a test class for a community user, so need to first create the user, then do my test as that user. I'm struggling to get the Account for the User though. What is wrong here? The last ...
0
votes
1answer
47 views

In test class can see all org users in list

I have written one query in test class for fetching users,as per my understanding query should return the user records created in test class only,but its giving all user from salesforce org.is that ...
0
votes
1answer
36 views

Customize global search

In the global search result shown in type ahead/auto complete search, how do I customize the field shown in second row. It generally shows, object type and one more field. For example, if I type for a ...
0
votes
1answer
9 views

Limit records based upon multiple criteria on object and user

I'm looking at limiting access to certain records such that should a record be assigned to a certain group of users (via some field on the object), only those users would be able see or edit those ...
1
vote
1answer
88 views

Not able to change case owner to current owner's manager using process builder

I need to be able to change case to current case owner's manager using standard manager ID field on User object. As shown in the screenshot below. I am getting following flow error every time flow ...
0
votes
1answer
25 views

Control On updation from UI or apex

can we Have acess or control in salesforce to control whether a particular updation should be From UI only or It should be through apex/process builder(backend)? I have One Field stage on an ...
0
votes
1answer
45 views

Automatically logging with some other user if open service console with system admin

System Admin is automatically logging with some other user when we a=try to open lighting service console. and getting error : "We're sorry to report that something has happened to your session. Log ...
1
vote
0answers
39 views

LWC: @wire No such column 'UserRoleId' on entity 'User'

I am getting this error when trying to do @wire for the current user. I assume that this is some sort of sharing issue. Is there a way to do something similar to without sharing for @wire so that I ...
0
votes
3answers
229 views

Field is not writeable: User.UserType

I'm trying to test a scheduled Apex class and I have a method that generates fakes users within my test class: List<User> newUsers = new List<User>(); Profile p = [ SELECT Id FROM ...
0
votes
0answers
20 views

I need specific users to be service cloud user

I wanted some users are service cloud users.One of the approach we found is to create a permission set with app permission**(Service Console (standard__LightningService))** as below but then i found ...
1
vote
1answer
58 views

User Object - Lastvieweddate & lastreferenceddate

Referring to the User object in particular, what exactly do the fields lastvieweddate and lastreferenceddate refer to? Is the lastvieweddate the last time the user viewed his/her own user information ...
0
votes
1answer
29 views

Visualforce User Lookup to fetch Partner users

I need to Lookup a Partner User from my VF page for which I leverage the Standard Salesforce lookup and use apex:inputField and point to Account.Owner field. Here is a trimmed version of my VF which ...
0
votes
1answer
21 views

How can I set a Dashboard to just Specific Users?

I was just asked by my Director of Sales to set a Specific Dashboard for him and one other user. The dashboard is created, but I cannot find a way to set it to their home. I found a way to do so in ...
0
votes
0answers
51 views

I CAN'T FIND user throwing error

We are getting the error below. It’s getting thrown after a batch process but what’s confusing to me is that I can’t locate the user that is throwing the error. When I copy and paste the user Id I ...
0
votes
1answer
21 views

how to enable view state checkbox for non salesforce admin profile

we have multiple user who's user licence is salesforce but profile is not system administration, profile's are different-different. i need to enable view state and development mode for particular user....
0
votes
1answer
137 views

System.SetPassword for setting Password does not work in APEX but works in Anonymous Execution

We are trying to create community users and contacts for our accounts through an apex class. In this class we use System.setPassword to set the password of the newly created users. We get no errors or ...
1
vote
0answers
25 views

Method returns incorrect current App Name for one User

I have a component that displays different input fields depending on which App the user is currently using. For some reason, we have one System Admin that gets 'Sales' returned as an AppName, ...
0
votes
1answer
123 views

User lookup in my custom object is not showing the list of users available .Unable to select users from the look up field

I have a custom object (case) with look up field(Assigne agent) on user , lookup filter ( asignee agent > profile>name equals system administrator). When I create a new case ,I'm not able to look up /...
0
votes
0answers
23 views

How can assign I Approval Requests to a queue when the original approver is away from office / on leave?

Two parts to this question: How can I notify the system when a Manager (Approver) is on leave? Once the system knows a Manager is on leave, how can Approval requests sent to that Manager be routed to ...
2
votes
2answers
396 views

User Vs. Connected App

I'm a little confused. I need to integrate an external platform with Salesforce to consume REST services. What is the difference between using an integration user with API permission rather than ...
0
votes
2answers
99 views

Can't create a new “system administrator” user

A few days ago I created a new "system administrator" user in this way: service setup - users - new user license: salesforce profile: system administrator But now I can't. I don't have the option "...
0
votes
1answer
87 views

Not able to update UserLogin object to lock user's password from flow

I am using update record component to update the IsPassword field on the UserLogin object. For that I am adding a condition to update the take the records based on Logged in user Id. i.e. UserId=...
1
vote
0answers
38 views

SFDX Scratch orgs are missing Chatter Plus/Chatter Only license

I need to create a user with "Chatter Plus/Chatter Only" license in my DX scratch org with this config: { "orgName": "Demo Company", "edition": "Developer", "features": [ "PersonAccounts", ...
1
vote
0answers
31 views

How to create users with a predefined LanguageLocaleKey and license?

I'm trying to create a user via /lightning/o/User/new , but LanguageLocaleKey is required and i can't access the field to be shown in the layout. Probably i'll need the License type too. I already ...
0
votes
1answer
44 views

Create a Customer Community User in Test to Login Connected Application

Please help out in any way possible with the below challenge; We have an application connected to salesforce which is logged in by our customers(accounts) through community users which are created ...
0
votes
2answers
23 views

Why does User lookup point to a random (disabled) user in the org when not specified?

We have a custom object MyCustomObject__c, which contains a lookup to the user reference. When we update this object by API, we might not set the value User__c, but Salesforce seems to be defaulting ...
0
votes
1answer
51 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
75 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
53 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
2 3 4 5
11