// Check current user is belong to acl group
String userid = InvokeState.getCurrentUser().getName();
ValuesEmulator.put(pipeline, “isMonitorUser”, (ServerAPI.checkAcl(aclname,userid)) ? “Y” : “N”);
It works fine. :-<
checkAcl() has two string type parameters.
What I don’t understand is that the result is different in two cases.
1.case 1
aclname : “monAcl”
userid : “monUser” (string) → displayed at Developer Results windows
Have you inverted the result ?
I think case 1 should be Y and case 2 should be N…
and how do you test your case 2 ? with developer using the “monUser” account ?
print the result of ‘InvokeState.getCurrentUser().getName();’ to be sure it is “monUser”.
→ It’s working fine with your example in my 6.5 IS.