Documentation > CMS Template API Library > EmailContext > Users

Users

A map of user ids to emails that are in the list of recipients

Type

IList<User>

Code Example

C#

Sample:
 
             
             
              foreach(User user in context.Users)
              {
                Out.WriteLine("<br/> User name: " + user.Username  + ", User email: " + user.Email);
              }
             
            

Connect with Crownpeak