Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Get creator full name in user macro

Pavel Potcheptsov
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 4, 2016

There is getCreatorName() method which returns login name.

Is there a way to get a Full Name of page creator?

2 answers

1 accepted

2 votes
Answer accepted
Ajay Singh _Appfire_
Contributor
October 4, 2016

Can you try getCreator().getFullName() and see if it works?

Following is an example :-

ContentEntityObject ceo = pageManager.getById(pageID);
ceo.getCreator().getFullName();


Pavel Potcheptsov
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 4, 2016

This code in used macro returns full name of creator. Thanks.

## @noparams
$getCreator().getFullName()
AURA bot August 10, 2017

$content.getCreator().getFullName()

0 votes
Guilherme V.
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 4, 2016

There's the getDisplayName() method too.

 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events