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 Kafoor
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

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

Hi @Ryan Kafoor 

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

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events