Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


UI Text Box
sizemedium
typeinfo

This function returns a text with the user name of a given display name.


Code Block
languagebash
titleSyntax
linenumberstrue
displayNameToUser(displayName) #Output: Text


UI Expand
titleExamples


Parser expressionDescription


Code Block
languagebash
linenumberstrue
displayNameToUser("Bob Smith")


This example returns the user name the user Bob Smith e.g.:
b.smith



UI Expand
titleAdditional information

Parameters used in this function

ParameterInput (data type)Description
displayName

Status
subtletrue
titletext

Text containing a valid user's full name.



UI Expand
titleOutput

This function returns a

Status
subtletrue
titletext


UI Text Box
typetip

If you want to return the full name instead of a user name, check out: userFullName()



Use cases and examples

Page properties report
firstcolumnUse case
headingsJWT feature, Workflow function, Field type, Automated action, Parser functions
cqllabel = "parser_func_displaynametouser" and space = currentSpace()


Page properties
hiddentrue
id1


Parser function cloud
Map(error)
NotesIt's only possible to find users via ID.




Page properties
hiddentrue



Status
Tech review

Status
colourGreen
titledone

Style guide

Status
colourGreen
titledone

Status
titletodo
Status
colourYellow
titleReady for review
Status
colourGreen
titledone
Status
colourRed
titleflagged



Page properties
hiddentrue


Short description

Returns the user name for a given user.

Output

Status
subtletrue
titletext

Available since

Status
subtletrue
colourBlue
title3.0.1

Label