The following code example shows how to display a custom informational message using the addMessageObject method.
The code example uses the methods ProcessStep and ErrorLevel. The field ErrorLevel.SUCCESS instructs CA Identity Manager to display the message on the screen:
Example:
IMSException imsx = new IMSException();
imsx.addUserMessage("My custom message");
context.addMessageObject (imsx,"MyBLTH", ProcessStep.DATAVALIDATE, ErrorLevel.SUCCESS);
|
Copyright © 2014 CA.
All rights reserved.
|
|