cancel
Showing results for 
Search instead for 
Did you mean: 

Custom Rule used for Role Mapping

GStewart_
Occasional Contributor

Custom Rule used for Role Mapping

IÕm trying to write a custom expression that examines Active Directory groups that users belong to. We are using this for Role Mapping. IÕd appreciate any helpÉ

 

Here is the situation:

A user must belong to Group1 And also belong to one of ten other groups: (groupA or groupB or groupC and so on to groupJ)

 

This is what I have tried so far:

Groups= (( Group1Ó) AND ( groupAÓ or groupBÓ or groupCÓ or Éand so on toÉ or groupJÓ))

This gives a syntax error at space 9.

 

However - This rule works fine for us: groups= ("Group1" and "groupA")

Best Regards

Greg Stewart

1 REPLY 1
jayLaiz_
Super Contributor

Re: Custom Rule used for Role Mapping

Hi Greg,

 

Have you tried this :

 

groups="Group1" and groups= ("GroupA" or "GroupB" or "GroupC" or "GroupD" or "GroupE" or "GroupF" or "GroupG" or "GroupH" or "GroupI" or "GroupJ")

 

Regards,

Jay