.NET API UsersClient.GetByUsername() Case Sensitivity Skip to main content
How satisfied are you with the Okta Help Center?
Thank you for your feedback!
How satisfied are you with the Okta Help Center?
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.