I have the following:

LDAP://ou=X,dc=X,dc=X;(&(objectCategory=person)(objectClass=user)(sAMAccountName=strCuruser));sAMAccountNam e,altRecipient,mailNickname;subtree

I need strCuruser to be a variable in (sAMAccountName=strCuruser).

How should I enclose strCuruser to set it as a variable?