From 2eab0ea629d5279d5c6e407911c1d231111ebc85 Mon Sep 17 00:00:00 2001 From: Ellis Karim Date: Fri, 17 Jan 2025 23:09:52 +0000 Subject: [PATCH] Update function-user.md User().Email returns the Email address of the current user. The text "The User().Email function returns the user's UPN and not the SMTP email address." is incorrect. The User().Email function does not return the user's UPN. --- power-platform/power-fx/reference/function-user.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/power-platform/power-fx/reference/function-user.md b/power-platform/power-fx/reference/function-user.md index 8979ea004e..c0123447b3 100644 --- a/power-platform/power-fx/reference/function-user.md +++ b/power-platform/power-fx/reference/function-user.md @@ -29,7 +29,7 @@ The **User** function returns a [record](/power-apps/maker/canvas-apps/working-w | Property | Description | | ------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| **User().Email** | Email address of the current user. The `User().Email` function returns the user's UPN and not the SMTP email address. | +| **User().Email** | Email address of the current user. | | **User().EntraObjectId** | Microsoft Entra Object ID of the current user, useful for calling APIs that use this value. This is a GUID value and unique for each user. | | **User().FullName** | Full name of the current user, including first and last names. | | **User().Image** | Image of the current user. This will be an image URL of the form "blob:_identifier_". Set the **[Image](/power-apps/maker/canvas-apps/controls/properties-visual)** property of the **[Image](/power-apps/maker/canvas-apps/controls/control-image)** control to this value to display the image in the app. |