(imported topic written by SystemAdmin)
Hi All,
Im new to relevance and am woundering if anyone can help me?
I want to show all Local Users and Domain Users in Local groups that are not administrator or guest. I have the below working from a similar article in the forum but catered towards groups. I could use this but it wont work on Domain Users in Local Groups.
q: (if (it contains (":" & computer name & “”) and it as lowercase does not contain (":" & computer name as lowercase & “\administrator”) and it as lowercase does not contain (":" & computer name as lowercase & “\guest”) ) then (it) else (Nothing)) of (item 0 of it & “:” & item 1 of it as string) of (name of it, (if (number of members of it > 0) then (members of it as string) else (“No Members”))) of local groups
A: Administrators:Test2\andrea
Is there a way I can use the filter to cross check (names of local users) and the same for domain users? Currently I am using the computer name and \ for local Users which is not the best idea.