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

Re: How to delete users from CLM using script?

$
0
0

Hello,

 

With help of Venkateswararao Vasantha I made a change in my code, now it looks like below:

 

user = (AbsAccountIfc)userHome.findUniqueByName(userID);
userHome.upgradeToEdit(user);
userHome.delete(user);
userHome.save(user);

This code is in try-catch block. When I ran the code again it went to catch section suggesting potential error, but when I save the result of Exception - e.getMessage() it gives me only string with "null".

 

How to solve this problem and what to do next?

 

Thanks for your help.


Viewing all articles
Browse latest Browse all 2151

Trending Articles



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