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
Hi Anjali,
Is this constant UMS_ASSIGNEE_GROUP is of multiple type?What is the output when you test (isusermemberofgroup( username:loggedInUser(), groupId:cons!UMS_ASSIGNEE_GROUP )) in expression rule ?
If its multiple, you can use isusermemberofgroups(loggedInUser,cons!MULTIPLE_GROUP)
When I'm trying the code isusermemberofgroup( username:loggedInUser(), groupId:cons!UMS_ASSIGNEE_GROUP ) in expression rule, false is returned. But still the page is visible.