@UserRoles for web plus ACL

Posted on 2007-10-08
Last Modified: 2013-12-18
For web, how can I determine if the current user is a Supervisor or not based on UserRoles? $$WebClient only checks if web or client then after determining that it is web then I need to check if Supervisor. I'm using a button on the web form.
Question by:aentice
    LVL 22

    Accepted Solution

    Use @IsMember in conjunction with @UserRoles.  Assuming that your role name is "Supervisor", the formula would be...

    @IsMember("[Supervisor]"; @UserRoles)


    Author Comment

    Hahaha! Simple enough! That's why your the expert! Thank you!
    LVL 31

    Expert Comment

    Or as simple as @UserRoles = "[Supervisor]"
    LVL 31

    Expert Comment

    Ha! 2 hours and no answer, I gues sthis iste is falling apart.  LOL
    LVL 31

    Expert Comment

    Sorry, wrong post

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    Suggested Solutions

    For beginners of Lotus Notes user this is important to know about the types of files and their location supported by IBM Notes. Mostly users are unaware about how many file types are created and what their usages are. This Article is fully dedicated…
    IBM Notes offer Encryption feature using which the user can secure its NSF emails or entire database easily. In this section we will discuss about the process to Encrypt Incoming and Outgoing Mails in depth.
    To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
    Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

    755 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    23 Experts available now in Live!

    Get 1:1 Help Now