c# - Azure Active Directory Graph Client 2.0 - Contains Expression -


when querying users etc using azure activedirectoryclient not seem possible construct expression has 'contains' keyword e.g.

activedirectoryclient.users.where(u => u.surname.contains(searchstring)) .executeasync()

i can use u.surname.startswith or endswith.

is supported? if not there alternative?

thanks.

contains not supported graph api itself. , there no alternative. strange endswith works.

you can find more supported queries , filters on following official documentation: https://msdn.microsoft.com/en-us/library/azure/dn727074.aspx


Comments

Popular posts from this blog

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -