Add the #DF24 Developer Keynote to your agenda. Join us in-person on 9/19 at 2:30 p.m. PT or on Salesforce+ at 5 p.m. PT for the must-see session built just for developers.

AuthenticatedMemberID()

Returns the member ID of the authenticated landing page user. Use this function only with Microsites when using Sender Authenticated Redirection. Not for use with CloudPages.

The AuthenticatedMemberID() function doesn’t accept any parameters.

You can call this function without passing any parameters.

The example outputs the member ID for the authenticated landing page user.