Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8372

Re: Sending mail to MA collaborators

$
0
0

Thank you very much for your reply Raj.

 

I have a confusion here in your code I have pasted below

 

collaboratorDisplayName = collaboratorMember.getPrincipal().getDisplayName();

if(collaboratorType.equals(sGroup)){

groupHome=IBeanHomeLocator.lookup(session,GroupIBeanHomeIfc.sHOME_NAME);

groupBean = groupHome.findGroup(collaboratorDisplayName);

 

collaboratorDisplayName is retrieving the group name and not the group ID (external ID) and with the last line you are searching the group with group ID and which is same as group name in your case (I guess ). However , this is possible if group name and ID are same . For my case , these two are different .

Example -  Group name is BASIS Admin and ID is 406.grp.clm_admin


From the RG , I have checked that the method findGroup(String GrpID) searches with group ID and not with name .


Please correct me if I am wrong in understanding your suggestion . Else please help me how to proceed in this case where Group name and ID are different .


Viewing all articles
Browse latest Browse all 8372

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>