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
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

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

0
votes
1answer
18 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
22 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
21 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
32 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
10 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
28 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
43 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
16 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
19 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
35 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
31 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
22 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
22 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
941 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
29 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 ...
2
votes
1answer
19 views

Can high volume portal user profile be got using UserInfo.getProfileId in Trigger context

A trigger on a custom object runs when a portal user does some operation. This trigger calls a public static method from a public apex class which does not have with sharing defined. I need to access ...
0
votes
1answer
38 views

Can we allow new customer community users to self-register via API?

We are building a custom app and want to use customer community licences to allow users to sign up and authenticate to via API using our app UI. We need our app to be able to do the following: 1- ...
0
votes
1answer
27 views

Button access to public groups

I am facing issue to build this logic in my application, can anyone help me how to achieve this scenario. I have two public groups in my Org like Group A, Group B. I have two buttons in the record ...
0
votes
1answer
15 views

Is there a way to retrieve all salesforce usernames and orgs attached to my email?

Just wondering if we can get all usernames (SF username and Orgs) attached to my email. According to this article only way seems to get help from Administrator. Appreciate if someone had the same ...
1
vote
1answer
14 views

Account roles are not getting created on enabling the account as a partner

I have an integration project that is stuck due to the limitation I am facing with my Salesforce instance. On enabling Account as a Partner, the roles are not getting assigned. I can't see the role ...
1
vote
1answer
27 views

Run a trigger when disabling a customer user

I want to write a trigger that will mark a checkbox on the contact object once a user clicks on the 'Manage External Users'->'Disable Customer User' This is the trigger I wrote, it does not run when ...
1
vote
1answer
36 views

RegEx for UserName format

My Requirement is while creating a user if user Id is not in corrected format then Validation message should be display o UserName Field. so if my email address is abc.def@xyz.com then my User name ...
0
votes
1answer
19 views

While User followers list stop emails sent

Through Apex code, we want All users to follow a particular user. While trying to do that, Salesforce generates email to particular user. Email is getting triggered even if email settings is switched ...
1
vote
1answer
526 views

Can't set the value of a lightning:inputField for a field of type User

I'm trying to set a default value on a lightning:inputField component. The fieldName references a User value. This is the code: <lightning:recordEditForm aura:id="recordEditForm" objectApiName="...
0
votes
1answer
30 views

Users who can/cannot be assigned Permission Set

We wont be able to add "Permission Set" to all the users (or with a particular userTypes). Like we cannot add "Permission Set" to a UserType - "Guest" or a community User. I'm trying to assign a "...
-2
votes
1answer
55 views

Upload Salesforce user profile photo via rest

I am entirely new at this. I want to know if it is possible to upload the user record profile picture via rest. I found that the photo url is exposed via the following /services/data/v41.0/connect/...
-2
votes
1answer
26 views

How to know the total license in Salesforce in apex?

I have scenario to find the remaining license in salesforce.I have found the count of used licenses by below query Integer licenses =[SELECT COUNT() FROM User WHERE Profile.UserLicense.Name = 'Force....
0
votes
2answers
39 views

Cannot edit users in Sandbox

I am encountering an issue in my sandbox in which any time I make an edit to a user account, I receive the following error message: Unable to Finish Processing Request An error has occurred while ...
2
votes
1answer
29 views

Salesforce DX User restrict Production permisison on objects/Apps

My requirement : I want DX User to be able to access only Dev-Hub/Scratch Org and Name Space registry. On the Dev-Hub, this user should NOT have ability to create records on any standard/custom ...
0
votes
1answer
31 views

Forgot my personal Developer Account password and security question

I forgot my personal Developer Account password and security question. But it is still tied to my email Id and I'm getting links when I click on reset password but Then I forgot the answer for my ...
1
vote
2answers
136 views

Identify User that Last Modified Specific Field by using apex

I have a custom checkbox field. I need to know how to identify the last user that changed the custom checkbox field by using an apex code. Is it possible? If so, how?
0
votes
1answer
19 views

Duplication Rule not firing for user even we having duplication rule for Account name

Create Account "Test Sample" as system admin. Then I logged in as custom profile user, create a lead with company name "Test Sample". I tried to convert the lead it doesn't show the matching account ...
1
vote
1answer
33 views

SOQL aggregate maxing out SOQL limits

I'm having trouble with my SOQL, running into SOQL limits in production. My SOQL is counting all active Users grouped by their Freeze status. How do I re-write the following SOQL without a subquery. ...
0
votes
0answers
21 views

Add roles to permission to see specific contacts

I'm trying to set up a hierarchy in our organization. We have two intern company (Company A and Company B). They can share the account information, but they cannot share other information like ...
0
votes
1answer
30 views

Is there an amspcript variable/substitution for 'current user'?

I have built a landing page which is for internal users only - it has System Authenticated Redirection on it. I'm using it to create data extensions using some scripts and ampscript to fire ...
1
vote
1answer
46 views

Share Pricebook record to the current user using Apex trigger or class or Flow

If there any Option to share the newly created Pricebook using Apex class to Current user. We have separate object(Opportunity Share) for Opportunity sharing like that do we have any object to share ...
3
votes
0answers
189 views

Automated Process User Permissions

We are having some difficulty with permissions. Our admin has also posted on the success board. https://success.salesforce.com/answers?id=9063A000000eB7V, she also found this same posting: https://...
0
votes
1answer
31 views

Export Users with group membership

Is there a SOQL query or a method to extract all users, their profiles and group membership from Salesforce?
0
votes
1answer
52 views

Update Record owner to Public Site Guest User

I have a situation where some records are owned by the "Public Site Guest User" user and due to an issue another user had to create a record and fix some data. In order for this corrected record to ...
1
vote
1answer
31 views

Get Marketing Cloud UserID (numeric)

I'm currently following this guide: https://developer.salesforce.com/docs/atlas.en-us.noversion.mc-programmatic-content.meta/mc-programmatic-content/createDataExtension.htm To create a data ...
2
votes
0answers
9 views
0
votes
1answer
45 views

How to get the UserName and territory name assign to user in single query?

I am new to the salesforce I am facing following issue. I want to show error message where I want to Display the userName and associated territory name. I am not able to get the both. Can you please ...
1
vote
1answer
26 views

Set Task User Type with URL Hack

I am working on creating a custom button that creates a task that has been prepopulated using url hacking. I've gotten almost all of my fields to work, but I am stuck on how to get the "Assigned To" ...
0
votes
1answer
63 views

How do I advoid mixed dml operation creating user for community

I am trying to create a list of contacts and add these to the community as users. I keep getting the error: MIXED_DML_OPERATION, DML operation on setup object is not permitted after you have ...
-4
votes
1answer
28 views

who can create the users in Salesforce [closed]

who can create the Users in salesforce. Are there any settigns needed to be changed the users of Salesforce to create other users or only user with Admin profile able to create the new users?
0
votes
1answer
30 views

Profile Visibility Settings fields

Where exactly below setting fields stored in salesforce. I could not find below fields in User Object. I need to access below fields via apex. These fields are available for us to edit from Lightning ...
1
vote
1answer
45 views

How to Restrict user to have more than one territory?

I want to show an error message when admin tries to associate the user of a particular profile with more than one territory. The user of this profile should be assigned to one territory only. If the ...
1
vote
0answers
53 views

User Automation and Future Method and Permissions Issue

I am stumped on a problem and was hoping someone could spur some thought. I have two users who have different profiles. The System Admin profile is able to get through a Future Method and a ...
0
votes
1answer
26 views

Is it possible to create a chatter group with only read/write access to group admin and rest of users to have read access to the group?

Can we create a Chatter group where no one could post in, other than the admin? So for example, I could post the training videos there, but no one could post in the group