on 03-03-2015 2:46 PM
Hi all,
I am currently trying to get a user object by user name.
We used method getDSSigners() to get all signers for a contract document.
The method only provides user display names. As we need to send a mail to the signer we need to find out the mail address of this user.
I couldn't find a solution til now. Do you have any idea?
Thanks and regards,
Özlem
Hi Ozlem,
Please try below piece of code:-
list=doc.getDSSigners();
if(list.size()>0)
{
for(i=0;i<list.size();i++){
signer=list.get(i);
NewUserAccountIBeanHomeIfc userHome = (NewUserAccountIBeanHomeIfc) IBeanHomeLocator.lookup(session, NewUserAccountIBeanHomeIfc.sHOME_NAME);
user = userHome.find(signer);
user.getEmail();
}
}
Please let me know if you find any issues.
Regards,
Komal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.