Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Apr 16, 2012 12:24 PM by gww
Apr 15, 2012 01:29 AM|LINK
I need some advice regarding a web app that I am currently developing. I am stuck on this:
Basically, the admin will login to the web app, select a distribtution group and a class topic and press submit.
After the submit, that class topic will then be assigned to all the members of that selected distribution group. An email will be sent to each
user of that group with a link to login and fill out a few questions.
Now, how will I go about doing this? I mean, do I enumerate all the users of the distribution group after the submit and then insert each individual row into a sql table or do I just insert the distribution group email into a table? or do I check AD after
each user logs into the web app if they are a member of that group and then have them view the assigned questions/content?
I hope you understand what I am trying to do . Please any help would be appreciated.
Apr 16, 2012 12:24 PM|LINK
You could load the member property and step through each member and look up their email on their account but you shouldnt need to. If the distribution list has an email address assigned to it, just load the mail property for that distro list and send your
email to it. All members of the distro list will get it. (Note not all distro lists get setup with an email address. But your sys admin can make one for it).
But if you do need to record each person being assigned the class you would then need to step through the list of members and add the records to your database. You may want to do this since if someone would get accidentally removed from the distro list they
would loose all their assignments.