LDAP Query

Hi,

Anyone can help me in the ldap query?
I create a role and ldap query not return the results i want. The role return all the results (users in AD) and not the results filtered in the ldap query?!

My ldap query:
(&(!(sAMAccountName=$))(|(sAMAccountName=icp))

MWS 7.1

Thanks
Joel