Forum Discussion

Krish_nidar's avatar
Krish_nidar
Icon for Helper I rankHelper I
1 year ago
Solved

Row Level Security only with AZ group

Hi Friends, It would be great ,if i get soution for beow   We are having five departments each department need to see their respective pages. Users are grouped in AZ groups. AZ group table as bel...
  • rajendraongole1's avatar
    1 year ago

    Hi Krish_nidar  - there is no function with usermemof ,

     

    can you try the below logic:

     

    TargetPage =
    VAR LoggedInUser = USERPRINCIPALNAME()
    RETURN
    LOOKUPVALUE(
    Mapping[TargetPage],
    Mapping[UserEmail], LoggedInUser,
    "Home" -- default if no match
    )

     

    Hope this helps.