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

Re: How to get The users from a Collaborator that is type Group.

$
0
0

Hi!

Thanks for the answer!

Actually that second part is the one I'm having trouble with (I forgot to mention I already had separated Groups from Users).

Can I get the Group with IBeanHomeLocator with the group's name and not the group's Id?

 

If so, I'm guessing the code will be something like this?

 

//Out of Context being collab a collaborator inside the iterator.

 

if(collab.getCollaboratorType().toString().equals("group")){

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

     groupName = collab.getDisplayName();

     group = groupHome.findGroup(groupName);

}

 

is that the way to get it using IBeanHomeLocator?

I think that's the part I'm having trouble with.

 

Thanks in Advance!


Viewing all articles
Browse latest Browse all 9269

Trending Articles



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