Hi,
I have just upgraded to 8.5.2 and have noticed that the JS I used to hide a combobox is no longer working - It does not seem to bring back the roles against the user.
On further investigation, it seems to be happening with only the LDAP ACL entries. My entry is :
CN=Grant, Jamie/OU=UserAccounts/OU=Glasgow/DC=clydeunion/DC=local
With “Administrator” Role.
Here is the code I am currently using (not working) :
var userName:NotesName = session.createName(@UserName());
var UsrNm =(userName.getCommon());
var s1 = context.getUser().getRoles();
var s2 = “[Administrator]”;
if (@Contains(s1, s2) == @True())
{
return true;
}
else
{
return false;
}
Like I said, this works for me in 8.5.1 FP1, but doesn’t work after upgrading to 8.5.2.
Has anyone had this issue and have a fix /alternative code?
Help appreciated.