cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
244
Views
0
Helpful
1
Replies

Ldap Provider

marwa_ads
Level 1
Level 1

Dear all,

I want to search the ldap directory with the user id,

I am using the LdapProvider class and its sendrequest method.

but iam confused in its parameters(filter and match rules)

how to give the function those parameters 4 example i want to search for a directory number "2005" how to format it.

Your fast response is really appreciated.

Thanks,

Marwa Ads

1 Reply 1

ivillegas
Level 6
Level 6

Search filters are composed of attribute match requirements. For example, to construct a search filter to return all the entries in a directory that contain an attribute called uid with one value equal to testuser, the filter would be:

(uid = testuser)