Running Lawson Security 10.0.9.
Does anybody have any experience with the match() function? I'm trying to restrict access to a field containing a SSN.
I tried this: match(table.TAX-ID,'^(?!000)(?!666)(?!9)d{3}[- ]?(?!00)d{2}[- ]?(?!0000)d{4}$') but it doesn't appear to be working. My usage of the function may be incorrect but the documentation is not very helpful. I know the regular expression works.
user.attributeContains('Role','POBuyerMgrRole')|| user.attributeContains('Role','POBuyerRole')|| user.attributeContains('Role','POClerkRole') !! etc. you can use the match function: match(user.getAttribute('Role'),'PO.*') The gotcha: although the period before the * is NOT part of the match pattern, it MUST be there in order for the match function to work! Credit goes to Vic Bhagwandin at Kinder Morgan in Houston, who painstakingly tried every possible configuration until he found this! Would you mind posting the pattern you used which worked?