Questions tagged [profile]

A profile contains user permissions and access settings that control what users can do within their organization.

Filter by
Sorted by
Tagged with
2
votes
1answer
125 views

Knowing a priori ProfileSessionSetting metadata member name

I use ProfileSessionSetting to deploy session timeout from an org to another. When I build the package.xml I have initially retrieve all the profile settings with a wildcard: <?xml version="1.0" ...
1
vote
0answers
113 views

Apex(no sharing specified) , OWD (public read only) and read Object level permission on profile - INSUFFICIENT_ACCESS_OR_READONLY

Custom Object - OWD (public read only) Apex(no sharing specified) and the apex is the entry point Object level permission on profile is read I was trying to update a custom object logging in as a ...
0
votes
0answers
21 views

Account sharing Rule

My requirement is "Log in as any user with a profile other than System Administrator. Ensure the user has access to view all Account record types but is only able to create and edit those with the ...
7
votes
1answer
1k views

Profile Field Level Security missing in XML when retrieve profile changes from scratch org

In our DX project we maintain 4 profiles (3 custom and the System Administrator profile). When a scratch org is created I can push the project and everything deploys correctly including the profiles ...
1
vote
1answer
65 views

Do you need Read access to an object to view its records in a report?

I believe if you have access to a report, record level access can be ignored and you can potentially see all records. Does this apply at the object level of a profile? So say a report is on Accounts, ...
0
votes
2answers
167 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 "...
6
votes
1answer
5k views

Find out the default record type of any Object in Apex

I've to find out the default record type of an Object so that I can use in Apex to insert/update records. Found out that it is at the user level(user profile based). Is there any other way which I ...
1
vote
0answers
43 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", ...
2
votes
2answers
5k views

I want to delete the record type which is default to the some profiles

Record Type *Record Type Label Sales Order *Record Type Name Sales_Order Namespace Prefix Description Active This record type Sales Order cannot be deactivated because the following ...
2
votes
2answers
3k views

How to update all profiles with the same Custom Object Permissions?

The case: I created a custom object. After that, I need to give permissions to all profiles. I have a lot of profiles. And editing each one is time-consuming. Is there a way to update all profiles at ...
1
vote
1answer
158 views

Retrieved profile from scratch org contains a permission which is unknown to a sandbox, why?

I've been working with SalesforceDX for a while now, and I've always removed profiles from deployments because of similar issues. Often you will create a simple scratch org, write your code, and then ...
0
votes
1answer
151 views

How can I overcome a “session is not valid for use with the API” error when accessing AJAX Toolkit as a Community user?

I'm attempting to use the AJAX Toolkit to access the current Account ID of the logged-in user from within a community site. (The particular community is managed by Nimble AMS, and is referred to as "...
6
votes
0answers
279 views

What determines the permissions for a profile deployed with change sets?

Question For a new profile created in a sandbox and deployed with a change set it'll carry with it the settings for all other metadata in the change set plus all settings that aren't specifically ...
2
votes
1answer
47 views

What do Profiles do uniquely?

After becoming frustrated with the half-dozen Profiles that all do the same thing (except for subtle differences here and there), I have started on cleaning up my org's permissions scheme. My basic ...
0
votes
1answer
36 views

Impacts on Page Layouts, Record Types, Objects and Fields on Profiles Clean Up

Since the Salesforce org becomes old, there is a need for Clean up. On this process, looking to clean up the profiles in the org. I have already created an Administrative User report to check the ...
1
vote
3answers
570 views

How to allow OpportunityLineItem delete but not Opportunity delete

How can I stop users from deleting Opportunity's but allow them to delete OpportunityLineItems? Because OpportunityLineItem is a child record of Opportunity it is not possible to control it's object ...
1
vote
1answer
50 views

Metadata API - FSC Retail Banking from being set as the default App instead of my custom App

I am having an issue where, using the Metadata API, I can't get my custom app to be the default App after installing the FinServ managed package. I first am deploying my custom App and setting the ...
1
vote
1answer
1k views

Users of some specific profile are not getting salesforce mail from Workflow, email alerts and test deliverabilty

I have salesforce enterprise edition environment. In this any user is not getting mail from saleforce workflow or any kind of system mail from sfdc if we change users profile to system administrator ...
1
vote
0answers
22 views

Cannot add record type to standard profile because of unrelated error [duplicate]

I want to assign a case record type to System Administrator. When I try to do this I get the error: Please fix the following: Permission Subscribe to Dashboards: Send to Groups and Roles ...
0
votes
1answer
47 views

SOQL field/object security setting in all Permission Set

I have two questions: How to get all Permission Sets' Name/Label? How to know the Security setting in a name-knowed Permission Set? Scenario: For audit reason, I have to retrieve Object/Field ...
1
vote
2answers
809 views

Can I retrieve a Profile's XML with Managed Package metadata?

I am currently attempting to update a new profile's permissions to match that of another profile (different license types, so cloning isn't available). My current best solution is to pull various ...
10
votes
1answer
6k views

'Guest' vs 'Guest User License' in sites?

When I first set up a site, I am always given the option to have the the type of new site be 'Guest' or 'Guest User License'. I have not been able to find any documentation on what the difference is. ...
45
votes
3answers
7k views

Salesforce bug enabled “Modify All”

Apparently, Salesforce has released a patch that implicated "Modify all" to be enabled for every single profile in some orgs. This includes standard profiles and custom as well. Yes, even standard ...
1
vote
1answer
33 views

Dev Platform - Custom Object

I just created a developer org for a customer presentation. I have created a special object from the object manager. When creating, a warning message appears: "Permissions for this object are ...
0
votes
2answers
1k views

How to get the current profile name in an aura cmp?

I need to get the Profile name in my Aura cmp, i am converting my js bottum to lightning quickAction, so i need the similar of this in my aura: "{!$Profile.Name}"
0
votes
1answer
45 views

Able To Delete Sobject Even if No permission for User

I have an Invoice Object inovice1, A profile sales1.Profile sales1 have no crud permission for invoice1 object not even read. Also OWD for Invoice object is set to private.Still I am able to insert,...
0
votes
2answers
259 views

Knowledge And Article Management Tab Visibility Deployment

I have enabled Lightning Knowledge post which I see two entries for Knowledge Tab Visibility in UI as highlighted below While I see only one Entry for knowledge Tab Visibility under the Admin.profile ...
2
votes
1answer
124 views

SOQL Profile Id Bug Introduced in Summer 2019 Release

We have discovered SOQL Profile Id Bug Introduced in Summer 2019 Release. To reproduce this, we need to have either a Custom Object or Custom metadata with Custom Field of Text field which contains ...
0
votes
1answer
428 views

Ant deployment error: Unknown user permission: ManagePartnerNetConn

I got below error during deployment of the profiles. Anyone know what this permission is? Note: in both source and target sandboxes I enabled communities. Meanwhile I removed this permission manually ...
1
vote
0answers
188 views

List Button is not passing parameter in URL for a particular profile

I have a list button on a related list of custom Object ABC under Contact object which redirects to a VF page (custom record creation page for ABC). I am passing contact id in the URL so that contact'...
0
votes
1answer
143 views

Profile Login Hour Restriction

We need to disable login to salesforce org for specific profiles from Saturday 13th April 2 AM EST to Sunday 14th April 10 AM EST. Will these login hours restrictions at profile level work, if we set ...
2
votes
1answer
174 views

Site guest user profile CRUD missing in a new scratch org

I've got a bitbucket pipeline which creates a new scratch org with the following config and then immediately deploys the source into the scratch org. { "orgName": "MyOrg", "edition": "Developer", ...
1
vote
1answer
113 views

Turn off access to Setup area in Salesforce

According to our client's requirements, ordinary users of developed applications should not be able to access Setup area in Salesforce. Out first naive approach was simply to revoke 'View Setup and ...
0
votes
0answers
36 views

Account Record Access Issue

I have a user with custom profile and role. The account is private in OWD and Read, Create, Edit access in profile. And we also have sharing rules on account where if records owner is in group, the ...
3
votes
2answers
54 views

Get Standard User Profile Id no matter what the users language is

When a (scratch) org is created by a non-english user this query will have no results: [SELECT Id FROM Profile WHERE Name='Standard User'] Instead you have to use a localized name (here in German) [...
1
vote
1answer
265 views

Scratch org created from Bitbucket pipeline has no Standard User profile

To build DX unlocked packages I am using Bitbucket pipelines. I use the Salesforce configuration template for this. image: atlassian/default-image:2 pipelines: default: #These commands run for all ...
3
votes
0answers
72 views

Get available record types for any user (not just current one) in apex code

We need to fetch in apex code list of available record types for a user provided by its id. We've already figured out how to do the same for current user (e.g. using DescribeSObjectResult....
0
votes
1answer
47 views

What is the difference between Visible & Edit Access

While we create a new field in an Object, we come across a screen where we would select whether we need Read Only access or Visible access to that field. In Profile level, we need to give whether a ...
1
vote
1answer
81 views

How to enable read permissions for organization sobject?

I'm trying to use the salesforce standard rest api to access the organization sobject so I can read the name of an organization I'm working with. I make a soql query "SELECT Id,Name FROM Organization ...
0
votes
1answer
47 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.
0
votes
3answers
2k views

how to check a profile has admin access or not, using apex

i cloned sys admin profile,cloned profile has every access,now how can i check the cloned profile has admin accesss, using apex Thanks.
9
votes
1answer
1k views

Why is there a big difference in profiles returned by “sfdx force:source:pull” and “sfdx force:mdapi:retrieve”?

I have a project with a scratch org created using some profiles that date from the MDAPI days. The profiles look good in the org. Having added some record types, I expected: sfdx force:source:pull ...
0
votes
1answer
44 views

How to change field level security of a field across all the profiles?

Is there an option to edit field level security of field across all the profiles at once ?
2
votes
5answers
2k views

How to match profile name to ant metadata profile name and vice versa?

Probably you know System Administrator profile, if you try to migrate change to object or field or page or application or class permissions for the profile and you try to retrieve it, you will get an ...
1
vote
1answer
59 views

Restrict FLS for a user when profile has access

For a certain Profile, the access to a group of fields on object is available. How can we restrict FLS for a specific user to those fields having the above mentioned same profile.
0
votes
0answers
36 views

How to send Subscribers Key in the Cloud Page Url to Fetch / Auto Populate the Subscriber's data [duplicate]

My requirement : I want a custom profile center where in the user if click on the footer link it sends him to a page with his auto populated attribute like First Name , Last Name and the publications ...
0
votes
2answers
32 views
10
votes
2answers
6k views

How can I upload/change user's profile image programatically or via API?

I know, that there is no way to mass-upload these images via dataloader as described here can I upload user's profile image via data loader https://success.salesforce.com/ideaView?id=...
5
votes
1answer
4k views

Record type selection screen is not shown prior to case creation

we have multiple record type for cases. Before case creation a screen is shown where a user has to choose a record type (i guess its a Salesforce default screen). The problem we are currently facing ...
24
votes
3answers
12k views

Finding if which users have a record type available to them using SOQL

I would like to be able to execute a SOQL query that will allow me to see which users have access to a certain record type for a certain object. For example, if I have a case record type called Phone ...

1 2 3
4
5
16