I'm playing arround with de inetpub/citrixweb/custom/custom.js file and used the default example as posted below and I'm wondering if I can get the logged in username because the CTXS.Extensions.beforeDisplayHomeScreen is running after I'm logged in.
My intention is to get the username and put the username in a client session cookie so another part of a intranet site can read this cookie and knows that the user is logged in and give the user his extra menu items. The reason I'm trying it this way is because we embedded the storefront as a iframe in our intranet.
Thanks in advance for your input.
With kind regards,