Ask Search:
Merlinda LuMerlinda Lu 

Log in to Community as User

A user has a permission set that gives them:
1. Manage Users
2. Manage External Users
3. Manage Customer Users
4. Edit on Accounts

This user is able to see the 'Enable Customer User' and 'Disable Customer User' buttons on the Contact record. However, this user is not able to see the 'Log in to Community as User' button even though the button is added to the Contact record page layout.

Based on this article, the user should be able to log in as a community user: https://help.salesforce.com/articleView?id=networks_create_external_users.htm&type=5

What permissions is this user missing in order to be able to log in to the community as another user?

Thank you in advance.
Best Answer chosen by Merlinda Lu
Tommaso BolisTommaso Bolis
Hi Merlinda,
in order to use the the 'Log into Community as User' the User needs to have  "Manage Users" and Read/Edit on Accounts. 

Also,
The user must be included in a sharing group of the partner user's manager role.
If you navigate to a partner community user and click on the role, you see what role it reports to and in what sharing group the role is. I think per default this is "Role" & "Role, Role, Internal and Portal Subordinates". This means the user you'd like to have access to has to be in the reporting role or in a subordinate role of the reporting role

Here an idea you can upvote about "Allow login as Community user without "Manage Users" permission"
https://success.salesforce.com/ideaView?id=08730000000Dkr8AAC

Since you said "this internal user is not above the Community user in the role hierarchy." I don't think it is possible.
 

All Answers

Tommaso BolisTommaso Bolis
Hi Merlinda,
A user needs to have the Manage External Users permissions and must be included in a sharing group of the partner user's manager role.

If you navigate to a partner community user and click on the role, you see what role it reports to and in what sharing group the role is. I think per default this is "Role" & "Role, Role, Internal and Portal Subordinates". This means the user you'd like to have access to has to be in the reporting role or in a subordinate role of the reporting role
Merlinda LuMerlinda Lu
Hi Tommaso,
The community user role's sharing group is: Role, Role, Internal and Portal Subordinates.
Both the community user's role and the user I'd like to have access, report to the same Role ('This role reports to').
However, the user I'd like to have access still does not see the 'Log in to Community as User' button on the contact record page. Thanks in advance for any additional suggestions.
Merlinda LuMerlinda Lu
@Tommaso, Is it possible for the User to log in as a Community User if they are not in the reporting role or in a subordinate role of the reporting role? 
Tommaso BolisTommaso Bolis
Hi Merlinda,
All the users with a profile  selected as member (https://help.salesforce.com/articleView?id=networks_customize_members.htm&type=5) of the community can log in, this despite of the assigned role.
Merlinda LuMerlinda Lu
Thanks @Tommaso! Regarding your comment from previously, how do you include a group of Users in a sharing group of the partner user's manager role? The current User who we want to be able to log in as a portal User is not above the portal User's role in the role hierarchy. Thank you.
Tommaso BolisTommaso Bolis
You can create a sharing rule to share records owned by partner roles to another role or public group.
Merlinda LuMerlinda Lu
Thanks @Tommaso! Will sharing records owned by the Customer role to another role, allow the other role use the  'Log into Community as User' button on the contact record, even if they are not above them in the Role Hierarchy? 
Tommaso BolisTommaso Bolis
Hi Merlinda,
I think the Log into Community as User functionality is available only on contact records. The user you are sharing data to has a community role or an internal role? In the second case I think it is not possible.
Merlinda LuMerlinda Lu
Hi Tommaso, thanks again for your help with this. The user has an internal role, and wants the ability to use the 'Log into Community as User' button on the Contact record. However, this internal user is not above the Community user in the role hierarchy.
Tommaso BolisTommaso Bolis
Hi Merlinda,
in order to use the the 'Log into Community as User' the User needs to have  "Manage Users" and Read/Edit on Accounts. 

Also,
The user must be included in a sharing group of the partner user's manager role.
If you navigate to a partner community user and click on the role, you see what role it reports to and in what sharing group the role is. I think per default this is "Role" & "Role, Role, Internal and Portal Subordinates". This means the user you'd like to have access to has to be in the reporting role or in a subordinate role of the reporting role

Here an idea you can upvote about "Allow login as Community user without "Manage Users" permission"
https://success.salesforce.com/ideaView?id=08730000000Dkr8AAC

Since you said "this internal user is not above the Community user in the role hierarchy." I don't think it is possible.
 
This was selected as the best answer
Merlinda LuMerlinda Lu
Okay, that makes sense. Thank you.
Tommaso BolisTommaso Bolis
You're welcome!