The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

How to retrieve email of a user in confluence through confiform

ryan
Contributor
November 27, 2023

Hi,

 

Is there a way for confiforms to access the email address of a user in confluence i.e. like [user.email] but not the email address of the current user using the form and instead someone else also using confluence. I have a user field in my form, but this only retrieves that users 'fullName' and 'name', and I am wondering if I can use this to also get the email.

 

Thanks

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Answer accepted
Alex Medved _ConfiForms_
Community Champion
November 27, 2023

Hi @ryan 

You can access any property of the User object as per https://wiki.vertuna.com/display/CONFIFORMS/Accessing+field+values+and+properties

also with the help of asUserProfile virtual function you can access user's profile properties if necessary

Alex

DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events