Attribute Name | Data Type | Description |
---|---|---|
value | String | Value field on which regex pattern is applied. This could be the combinations of one or many AD attributes or constants strings.
If the value requires backslash (\) or double quotes, then these characters should be escaped with another backslash (\).For example, value pttpro\${givenname} should be given as pttpro\\${givenname}. |
pattern | String | regex pattern to be applied on the value.
If the pattern requires backslash (\) or double quotes, then these characters should be escaped with another backslash (\). For example; pattern ^\ |
index (optional) | Integer | If the pattern matches with multiple values:-
|
group (optional) | Integer | If the regex uses grouping, it returns the group value.
|
" function":"find", "params":{ "value":"${extensionattribute7}", "pattern":"^\\d{4}", "index": 0, "group": 0 }}
[ "CN=Smartphones_SM1,OU=Security Groups,OU=Groups,OU=East,OU=Resources,DC=rona,DC=ca", "CN=Smartphones_SM2,OU=Security Groups,OU=Groups,OU=East,OU=Resources,DC=rona,DC=ca", "CN=Smartphones_SM3,OU=Security Groups,OU=Groups,OU=East,OU=Resources,DC=rona,DC=ca" ] User Role Level mapping mapping with below find function mapping results in same list of role levels with comma separation { "function": "find", "params": { "value": "${memberof}", "pattern": "CN=(.?),", "index": -1, "group": 1 } }