Custom Web part or functionality to Get SharePoint site site information when enter username

adil 1,226 Reputation points
2024-07-17T11:59:15.9766667+00:00

Hi,

I want to Custom Web part or functionality to Get SharePoint site site information when enter given username ,i want to create a page in root site collection and i want to add check permission functionally and it retrieve Site information

here i have Root Site Collection and it has many Sites & Sub Sites and each site has Unique Permissions

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,273 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
2,807 questions
SharePoint Server Development
SharePoint Server Development
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Development: The process of researching, productizing, and refining new or existing technologies.
1,597 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Haoyan Xue_MSFT 22,381 Reputation points Microsoft Vendor
    2024-07-18T02:49:30.0433333+00:00

    Hi @adil ,

    Per my knowledge, we can filter SharePoint items by logged in user, but we can't get the information based on the username in Sharepoint.

    Also, due to permissions issues as well as parameter issues, we were not able to accomplish this through the graph api or powershell.

    Your understanding and patience will be highly appreciated! Hope you have a good day and keep safe!


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.