Forum Discussion
Bob19721495
Mar 18, 2024Copper Contributor
How to call User Contact Card
Hi We have a custom webpart that we create that allows users to search through the 365 User directory. This works fine, however what we want to do is when a user name is found, we want the user to ...
ganeshsanap
Mar 19, 2024MVP
If you have developed your custom web part using SPFx, I will suggest to use the LivePersona control from @pnp/spfx-controls-react library:
Source: LivePersona control
This is possible using Microsoft graph toolkit as well: Person-Card component in Microsoft Graph Toolkit
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.