1. Home
  2. Administrators
  3. Formulas
  4. JavaScript functions
  5. getEmail function – Get the email of a Docuo user with a formula

getEmail function – Get the email of a Docuo user with a formula

The getEmail function allows, from a formula, to obtain the email of one or more Docuo users or collaborators.

For example, if we have a user-filled field, we can obtain a mailing list with:

User.getEmail(Names)

Where:

Names – is a replacement tag for a field of type file or a string containing usernames separated by commas:

User.getEmail('<@Users:Authorized>')
User.getEmail('Juan Garcia, Ana Lopez')

We would get a text string with the emails separated by ;

juan.garcia@docuo.com; ana.lopez@docuo.com
Updated on 3 de August de 2022
Was this article helpful?

Related Articles