I want to migrate to lightning experience, and I don't see the "Log in to Portal as user" button in my lightning contact layout.

If I view the contact layout in classic Salesforce, I can see and manage the button:

Existing external user buttons

But on the lightning experience contact page I can see the "Enable Customer User" button only:

enter image description here

And this is on the same contact (my contact has already a user).

Am I doing something wrong?

Does anybody know if this feature is available today for lightning experience?

  • Any idea if this is available yet? Jun 27, 2017 at 17:12
  • This is not available, I have created my own set of buttons to do that Jun 29, 2017 at 15:26
  • @ItaiShmida, I'm about to embark on that same task. Any chance you might be willing to share the implementation of those buttons? No problem if it would violate IP restrictions. Just figured I'd ask. Thanks! Aug 1, 2017 at 21:10
  • I'll try to create a gist project for you Aug 2, 2017 at 9:56
  • please look at my answer and rate it, any comments for the gist would be highly appreciated Aug 2, 2017 at 14:05

3 Answers 3


Update: This has been available since the Winter '18 release

This feature is currently unavailable in Lightning UX: https://releasenotes.docs.salesforce.com/en-us/winter16/release-notes/lex_gaps_limitations_other_products.htm

This was a big reason why I have not moved my Org to Lightning.

  • We've run into some issues with some of the gaps in lightning UX, hopefully they will address sooner than later
    – curtisk
    Nov 16, 2016 at 21:24
  • Thanks for the answer, but this document says that Salesforce Communities is not supported. I don't need support in communities, I just need this button. And if this is the reason - why is the "Enable Customer User" button available? Nov 17, 2016 at 5:33

I am posting here my component for Log in as a Portal User and Enable Customer User buttons - for users to use until Salesforce creates standard buttons for that.

I have created a gist for that:


This lightning component is a card box to add to your contact record page.

Inside this gist there is one lightning component bundle, and one apex class.

The card displays a button:

  • If current contact has a portal user, the button is for login to the portal
  • If current contact does not have a portal user the button is for creating a portal user
  • thanks for posting this. Is this free to use, even in a commercial application? If so, is there any type of license or statement of reuse you'd like to add to the gist to clarify that? Just always have to cover the bases when using code that wasn't produced in-house. Thanks again! Aug 2, 2017 at 15:45
  • I posted it so everyone can make use of it - private commercial and all. So fill free to use. If you have any fixes or comments - please send me so I can update the post. Also - you can up-vote this answer as useful to say thanks. Aug 3, 2017 at 5:52
  • 1
    all these features should be available now in lightning: https://releasenotes.docs.salesforce.com/en-us/winter18/release-notes/rn_networks_manage_external_users_lex.htm Sep 10, 2017 at 14:07

This feature is now available after the Winter '18 release. Go Lightning!

  • Please add a link to the relevant release notes to back up this claim.
    – Adrian Larson
    Oct 13, 2017 at 13:10

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .