Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Figure 1: Sample screenshot of Bean Shell Permission in Userview Category

When writing your own code, these 2 objects are made available for your to ease your implementation.

Image Added

Figure 2: Sample variables' values

Code Block
titleSample Usage
System.out.println( user.getFirstName() ); //will print "Admin"
System.out.println( requestParams.get("appId") ); //will print "hr_expense";
 
if(user.getFirstName().equalsIgnoreCase("Admin")){
	return true;
}else{
	return false;
}