function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Shrinwanti RayShrinwanti Ray 

Show Logged in community User Name

Hi ,
I am trying to fetch the community user Name and show it in the Community dynamically for logged in Partner Users like "Welcome {Username}".I have tried with lightning component by fetching the associated contact details but it doesnt show for community user.Can anybody please help me in doing it?
John ElianJohn Elian
 I am told that one can detect who the user is in a lightning community and then display (https://shoesgraph.com/best-outdoor-basketball-shoes/) a home page based on the current user. ... I assume that by providing a custom page/experience to the user you are using a ... gertUserId() to get the running users Id and from there you can ... Id"); Console.log(userId);.
Shrinwanti RayShrinwanti Ray
@John Elian 
I have user getUserId() however for community users the name does not show up,although it does for system admin