Send User profile in plain text

  1. Store the username un, first name fn, last name ln, user roles rs, user department dt, time when this JSON string was created in UtcTicks ut (number of 100-nanosecond intervals that have elapsed since 12:00:00 midnight on January 1, 0001), and expiry time te in minutes in a JSON string:
{
"un":"John.Citizen",
"fn":"John",
"ln":"Citizen",
"rs":["Administrator","AlertAdmin","ClientAdmin"],
"dt":"HumanResources,IT",
"ut":637277353891062353,
"te": 30
}

2. Store this JSON string in the JavaScript variable in a[d].user_id

a[d] || (a[d] = {}), a[d].user_id = `{username}`