Skip to main content
Skip table of contents

System Variables: Usernames

Principal username (usually email): {%PrincipalUserName%}

system-variables-principal-username


Displayed name: {%DisplayedUserName%}

system-variables-displayed-name

Detailed Description

Regular session:

system-variables-regular-session


Role session:

[07/févr./2020 17:09:53] PrincipalUserName is LeeG@M365x831182.OnMicrosoft.com|~#~|TEST FOR LOGS
[07/févr./2020 17:09:53] PrincipalUserEmail is LeeG@M365x831182.OnMicrosoft.com

Example Script

XML
<Echo Value="{%PrincipalUserName%}"/>
<Echo Value="{%DisplayedUserName%}"/>
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.