(imported topic written by Harald.Zarakowitis)
Hi,
I need help with this relevance.
I copied a query from the forum which lists all AD-groups which the client is member of.
string values of selects (
"DS_MemberOf from DS_Computer where DS_Name='" & (computer name) &
"'") of wmi
"root\directory\ldap"
Now I want to query, if the client is member of a specific group. That is what I used:
exists selects (
"DS_MemberOf from DS_Computer where DS_Name='" & (computer name) &
"'") whose (string value of it contains
"VIE") of wmi
"root\directory\ldap"
However, this does not work. It always displays ‘false’. It seems that it does not iterate over the list.
What´s interesting is, that the following relevance
string values of selects (
"DS_MemberOf from DS_Computer where DS_Name='" & (computer name) &
"'") whose (string value 1 of it contains
"VIE") of wmi
"root\directory\ldap"
has as output
CN=VIEPR-G020Z315-1,OU=Printers,OU=vie,OU=at,DC=company,DC=com CN=VIEPR-G020Z315-2,OU=Printers,OU=vie,OU=at,DC=company,DC=com CN=VIEPR-G020Z328-1,OU=Printers,OU=vie,OU=at,DC=company,DC=com Evaluates to plural object of type string
