Hi @Dinesh,
Welcome to Microsoft Q&A, and thank you very much for reaching out to us.
Please note that our forum is a public platform, and we will modify your question to hide your personal information in the description. Kindly ensure that you hide any personal or organizational information the next time you post an error or other details to protect personal data.
Based on your description, from my research, this behavior occurs because SharePoint uses claims-based authentication.
When an identity is authenticated through a claim's provider such as Azure AD or a federated directory, SharePoint creates an internal representation of that identity. When a claim can’t be mapped to a recognized user profile, SharePoint creates an internal identity with a placeholder like SLinkClaim.<GUID> and sometimes tagged as Guest Contributor. These entries usually appear for external or guest users who accessed the site through sharing links or weren’t fully provisioned.
The SiteUser object in CSOM corresponds to an entry in the User Information List of a SharePoint site collection. It represents any identity that has interacted with or been granted permissions on the site.
While Microsoft does not have an article specifically addressing SiteUser, I found an external resource that explains it in depth, feel free to review it for additional insights.
Note: Microsoft is providing this information as a convenience to you. These sites are not controlled by Microsoft, and Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please ensure that you fully understand the risks before using any suggestions from the above link.
You can also find examples related to SiteUser in this Microsoft article on basic operations using sharepoint SCOM API here.
Regarding SLinkClaim, it is an internal identifier used by SharePoint for sharing link claims. These are special claim tokens created when someone uses a sharing link (anonymous or guest link) instead of signing in with a standard account.
For more details on claims-based identity, you can refer to this Microsoft article here.
I hope this helps.
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.