Forum Discussion

TherealKillerbe's avatar
TherealKillerbe
Brass Contributor
Apr 16, 2024
Solved

leverage the memberof in Dynamic Groups

I am wondering if it is possible to exclude membership to a dynamic group, when the user is member of a group.

Adding a member is following syntax

user.memberof -any "$Groupid"

 

i tried -not, notcontains and notin.

Example and (user.memberof -notcontains "123d12e3-123d-1234-ad56-782b901cff23")

Resources