Forums
Lawson S3 Financials
Company Control
Author
Messages
bobc
Basic Member
Posts: 10
3/26/2021 3:08 PM
We have numerous companies in Lawson for our Finance users and we have moved from LAUA security to Lawson security. I haven't been able to figure out how to restrict security classes to certain companies. I was able to restrict access by process levels with this element:
if(user.attributeContains('ProcessLevelControl',PROCESS_LEVEL))
'ALL_ACCESS'
else
'NO_ACCESS'
and entering the process levels in the ProcessLevelControl field in the user's profile
but it doesn't seem to work with CompanyControl with this element:
if(user.attributeContains('CompanyControl',COMPANY))
'ALL_ACCESS'
else
'NO_ACCESS'
Any ideas how this should be set up? Thanks.