Hello All,
I'm using LC 8.2. My requirement is like i need to send email to all the members of a particular group. I dont want to hardcode any email ids.
I think in the workbench, there is no way to get all the email ids of member of a particular group (if any please let me know). So I think the better approach is to get the data from the database.
I have written a query which is able to get the email ids from the database, but the thing is i'm not able to restrict it to a particular group; as i'm not finding any table having group name in string format. Please help in completing the query.
select lcuser.canonicalname, lcuser.email
from edcprincipalentity as lcuser, EDCPRINCIPALGRPCTMNTENTI as lcgroup
where lcuser.id = lcgroup.refchildprincipalid
Thanks
Deepak