To get the current version of your environment, load and run this rule:
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE Rule PUBLIC "sailpoint.dtd" "sailpoint.dtd">
<Rule language="beanshell" name="TestRule-GetVersion">
<Description>Get Sailpoint Version</Description>
<Source>//
import sailpoint.object.*;
import sailpoint.api.*;
import sailpoint.Version;
String version=sailpoint.Version.getVersion();
String patchLevel=sailpoint.Version.getPatchLevel();
String rval="Version="+version+" Patch Level="+patchLevel;
return rval;
</Source>
</Rule>
No comments:
Post a Comment