.NET API UsersClient.GetByUsername() Case Sensitivity Skip to main content
https://support.okta.com/help/answers?id=9062a000000bmciqaq&refurl=http%3a%2f%2fsupport.okta.com%2fhelp%2fanswers
How satisfied are you with the Okta Help Center?
Thank you for your feedback!
How satisfied are you with the Okta Help Center?
1
2
3
4
5
Very Dissatisfied
Very satisfied
Enter content less than 200 characters.
Ask Search:
Chin BaeChin Bae 

.NET API UsersClient.GetByUsername() Case Sensitivity

Is there a way to configure UsersClient so that GetByUsername() supports case insensitive search?
Marc JohnstonMarc Johnston (Okta, Inc.)
GetByUsername() is a case sensitive search so there is not a way to search with case insensitivity. I confirmed with developer support to make sure and the suggestion was to try the Get() command to make your calls.
Chin BaeChin Bae
Using Get() is NOT a solution. That method requires passing a UserID. The whole point of our need to use GetByUserName() in the first place was to get the user instance in order to get the UserID.