APM Advanced Resource Assign - LDAP query Wildcard use

Howdy,

Can you use a wildcard to sift through the results of “session.ldap.last.attr.memberOf” with the stock “Contains”?

I’m trying the below in the APM Advanced Resource assign Expression but it never works: expr { [mcget {session.ldap.last.attr.memberOf}] contains “CN=ACL-testsites*” }

Where the full ACL is ACL-testsites-users and ACL-testsites-computers, wanted to catch either with the Wildcard.

going to try starts with next.

thanks!

Update - changed from contains to matches_regex

looks to be working.