PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 03/26/2021 11:08 AM by  bobc
Company Control
 0 Replies
Sort:
You are not authorized to post a reply.
Author Messages
bobc
Systems Administrator
Private
Basic Member
(24 points)
Basic Member
Posts:10


Send Message:

--
03/26/2021 11:08 AM
    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.

    You are not authorized to post a reply.