own Macro - how can I read out the user detail data

e_baum June 8, 2021

Hello,

I try to create my own macro and I want to read out the user details like the phone number.

At the meantime I get the userPicture and the full name. But how can I read the details?

I have this:

#set( $profileUser = $userAccessor.getUserByName($param0) )

#set( $userFullName = $profileUser.getFullName() )

This works fine.

I tried something like

#set( $userPhone= $userDetailsManager.getStringProperty($profile_user,"phone"))

but this doesn't work

1 answer

0 votes
Fabian Lim
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 26, 2021

Hi @e_baum

There is a workaround on this feature request. Take a look at the post and let us know if it worked: https://jira.atlassian.com/browse/CONFSERVER-59935

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events