Send Notification to group in business role (more than one role)
Summary:
Sending notification to groups in different role:
adf.context.getSecurityContext()?.isUserInRole(roleName)
Content (required):
Hi Experts,
from functions
current user
adf.context.getSecurityContext()?.isUserInRole(roleName)
what is the best way to send notification to more than one group, is it:
adf.context.getSecurityContext()?.isUserInRole(Arole && Brole && Crole )
or
adf.context.getSecurityContext()?.isUserInRole(Arole) && adf.context.getSecurityContext()?.isUserInRole(Brole) && adf.context.getSecurityContext()?.isUserInRole(Crole)
or
adf.context.getSecurityContext()?.isUserInRole(Arole || Brole || Crole)
or
adf.context.getSecurityContext()?.isUserInRole(Arole) || adf.context.getSecurityContext()?.isUserInRole(Brole) || adf.context.getSecurityContext()?.isUserInRole(Crole)
Version (include the version you are using, if applicable):
Code Snippet (add any code snippets that support your topic, if applicable):