2015-06-19 63 views
0

使用Azure ActiveDirectoryClient查詢用戶等時,似乎無法構建具有「Contains」關鍵字的表達式,例如Azure Active Directory圖形客戶端2.0 - 包含表達式

activeDirectoryClient.Users.Where(U => u.Surname.Contains(searchString的)) .ExecuteAsync()

我可以成功地使用u.Surname.StartsWith或的endsWith。

這是支持嗎?如果沒有,還有其他選擇嗎?

謝謝。

回答