Case-insensitive username search

A list of usernames is coming into the system via an external source in an all-lowercase format. Is there a way to do a case insensitive username search in Appian? user() is case sensitive and usersearch() does not appear to have username as a search option.

OriginalPostID-251460

  Discussion posts and replies are publicly visible

Parents
  • Hi Kyle, given that all your users are known to be in all lower case, you can create a custom rule, call it something like myUser() or abcUser(). The rule only need to be as simple as:

    user(lower(ri!username), ri!property)

    Then let all developers/designers know to use this new rule instead of user(). If you name the rule specific enough for your organization, then you can just call it directly such as abcUser() and not rule!abcUser() without worrying that the name will clash with something else later.
Reply
  • Hi Kyle, given that all your users are known to be in all lower case, you can create a custom rule, call it something like myUser() or abcUser(). The rule only need to be as simple as:

    user(lower(ri!username), ri!property)

    Then let all developers/designers know to use this new rule instead of user(). If you name the rule specific enough for your organization, then you can just call it directly such as abcUser() and not rule!abcUser() without worrying that the name will clash with something else later.
Children