User Query
Hello,
The default User Query defined in the portal settings is 'DisplayName LIKE '%' + @Query + '%' OR UserName LIKE '%' + @Query + '%''.
Does anyone know the best way to update this to restrict the users returned to be only from a specific domain and not include an underscore in the username?
Thanks,
David
Best Answer
-
Jeff_Lang Customer Ninja IT Monkey ✭✭✭✭@David_Allen you could try something like (modifying the DomainName in it)
(DisplayName LIKE '%' + @Query + '%' OR UserName LIKE '%' + @Query + '%') AND UserName NOT LIKE '%_%' AND Domain = 'DomainName'
2
Answers