We are testing a Prolaborate macro and need to retrieve the currently logged-in user’s email.
However, without additional permissions, we are unable to fetch the email.
When profile visibility permissions are enabled, it works.
When users keep their email hidden, the macro cannot access it.
Our macro should not ask users to grant extra permissions.
Is there any authentication-based method, built-in API, or alternative approach to get the logged-in user’s email in a Confluence macro without requiring profile visibility permissions?
Can anybody help me with this?
Hi @Arikrishnan and welcome
This is not possible and it is by design. You can not override these settings via the API for security reasons.
Best regards,
/Staffan
Hi @Staffan Redelius ,
Thanks for the clarification. Understood that this is by design and cannot be overridden via the API due to security reasons.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.