Is there any way to hide the pages from the site according to the user group?

I have tried the below code.

isusermemberofgroup( username:loggedInUser(), groupId:cons!UMS_ASSIGNEE_GROUP )

But it is not working. Is there any other way to hide the pages from the site according to the user group?

  Discussion posts and replies are publicly visible

Parents Reply
  • +1
    A Score Level 1
    in reply to anjalivarier

    As the best practice, we assign the security to the groups.

    Find out the group(in your case cons!UMS_ASSIGNEE_GROUP) which has access to the application, add the newly created user to that group.

    Configure the security for the Site page object (Action/Record/Report) with the same group (minimum access should be Viewers)

    Set the security to the Site with the same group (minimum access should be Viewers)

    Note: When you configure the groups or security settings login as System Administrator account. While testing login as newly created user. So that you can have the clear visibility.

Children
No Data