Activity Forums Salesforce® Discussions Create new user from community while logged in as a Community User

  • Create new user from community while logged in as a Community User

    Posted by Mullesh on April 26, 2021 at 8:17 am

    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.

    Mullesh replied 2 years, 12 months ago 1 Member · 0 Replies
  • 0 Replies

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos

Popular Salesforce Infographics