19
Views
5
Comments
[Active Directory CORE (Simplified)] How to filter entries by specific attribute value
active-directory-core-simplified
Service icon
Forge asset by Renato Pauleta
Application Type
Service

Hi!

Is it possible to search for entries with a specific attribute value, eg. "objectClass=person"?


Cheers!

António Pereira

2018-05-29 16-43-16
Renato Pauleta

Hi António,


Search is limited to users and groups at this point. If you use the SearchUsers action it includes that particular filter always. The actual filter being applied for users is "(objectCategory=User)(objectClass=person)" and for groups is "(objectClass=group)".

Were you thinking of any other different filter? In the user search there are a few options available and that changes the filter. What you need is the ability of adding your own filter, is that it?

Cheers.

2021-02-18 12-29-06
António Pereira
Champion

Hi Renato,

Thanks for your answer. Yes, along with the search of users and groups, if it was possible to use my own AD filter it would be more flexible.


Cheers,

António Pereira

2018-05-29 16-43-16
Renato Pauleta

I can create a more flexible function, but the output structures are very strict and it's always related with user or group. 

Meaning, the flexibility would still be restricted to user or group. Would that work for you? Or would you need to search for other types of objects?

2021-02-18 12-29-06
António Pereira
Champion

I can create a more flexible function, but the output structures are very strict and it's always related with user or group.

We are still discussing requirements with the client to understand how the AD is organized and what to fetch, but currently I'm ok with objects of type user or group.

2018-05-29 16-43-16
Renato Pauleta

New version is live with a UserSearchAdvanced function. Hope it works out for you.


Cheers.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.