Determine User Principal Name

Hi Plumsail,

I was wondering if there was to determine the userPrincipalName of the user that is logged in? I need this metadata information for an application I'm developing.

Thank you!

Hi @DryChips,

Assuming you use Public Forms, you can access users profile information if you check this box in the form settings:

Try following this example to retrieve certain properties: Retrieve user profile information — Plumsail SharePoint Forms Documentation