usersearch({"userTypeName"},{1},{"Administrator"}) returns the following error:
Expression evaluation error at function 'usersearch': com.appiancorp.suiteapi.personalization.UserSearch.setOperatorUserTypeName(java.lang.Integer)
I believe this should return the list of Administrators. This is a different error to using a non-existing user property such as usersearch({"user"},{1},{"Administrator"}). The error this throws is:
Expression evaluation error at function 'usersearch': Invalid property: user
Discussion posts and replies are publicly visible
I believe usersearch is apart of the personalization utilities shared component: https://forum.appian.com/suite/sites/shared-components/page/shared-components/record/lIBCLGOdlMUpdGVqW3dQaIKmclBmvvNEj8vu_cjb7T-5YiPr4Fu8ly5Yj1s09uenE4RYzA8zKyx7eiUhetE6R7wweiOH6ioZIxyCYszpaPoTE8_/view/summary. Since this function is from a plugin and not available OOTB, Appiant does not guarantee functionality. I recommend reaching out to the plugin contributor or downloading and debugging the function yourself.