-
Create new user from community while logged in as a Community User
I am trying to create a new user from community while logged in as a Community User. The logged in user first enters the list of fields (Like First Name, Last Name, Mobile Phone etc). On Clicking Next, first a contact is created (The newly created Contact is assigned the Account of logged in user and Owner of Account will also be the owner of the newly created Contact).
Next, a user record will be created. The contactId of user will be Id of newly created contact.
However, I am having two issues here:
While assigning AccountId and Account OwnerId, I am having insufficient cross reference id. The logged in user profile has access to the Account fields and read access to the record as well.For creating user, the ProfileId of the new user should be ProfileID of logged in user. But I am not able to pass it because the logged in user doesn't have access to profile Id.Please let me know if I am missing any permissions. The logged in user's license is a Customer Community plus license.
Log In to reply.
Popular Salesforce Blogs

NetSuite and Salesforce Integration using Restlet
Salesforce and NetSuite are both very popular Customer Relationship Management solutions. Even though both can be labeled two kinds of ‘CRM’ they are very different…

How Our Favorite Sites and Tools Use Machine Learning | Salesforce Guide
As companies collect more and more data about their customers, an increased amount of duplicate information starts appearing in the data as well, causing a…

Shaping Customer Experience in Banking with Salesforce
Just like any other industry, banking these days faces an urgent need to reimagine itself and work on achieving new opportunities for growth. The need…
Popular Salesforce Videos
What is Salesforce Development? | Salesforce Developer Course
In this video, Shrey has given a detailed overview of the Salesforce Development Course. You will learn the following topics from this course: Apex basics…
15 Things You Didn’t Know About Salesforce
In this video we'll try to answer the following questions: What is Salesforce and why it is used? What is the job of Salesforce developer?…
Getting Started With The Ant Migration Tool in Salesforce
Ant Migration Tool In Salesforce. In this video, the following points will be covered - 1. Introduction Get a brief introduction about the Ant Migration…
Popular Salesforce Infographics

Demystifying Salesforce Blockchain
Salesforce Blockchain is currently available to select design partners and will be generally available in 2020. This Informative Infographic will help readers to decide to…

Infographic: State of Service 2019
Did you know that 64% of people think that customer experience is more important than price in their choice of brand? The new trends in customer service…

Top 12 Salesforce Trends in 2024
Embark on a journey through the future of Salesforce in 2024 and beyond. Uncover the latest trends shaping CRM excellence, providing crucial insights to navigate…