コード例 #1
0
        public static void NonEmployeeProcessed(object sender, UserEventArgs e)
        {
            User user = e.User;

            if (user.UserStatus == UserStatus.Rejected)
            {
                NotifyUser.NonEmployeeRejected(user);
            }
            else
            {
                NotifyUser.SendEmailConfirmation(user);
            }
        }
コード例 #2
0
 public static void PreApprovedUserCreated(object sender, UserEventArgs e)
 {
     NotifyUser.SendEmailConfirmation(e.User);
 }