Therefore API > API Reference > Classes > TheUserList > Methods > Contains
Contains.2
Checks if a user with the specified user name exists in the list.
Namespace: Therefore.API
strUserName
User name to look for
Value
Condition
true
List contains at least one user with the specified strUserName.
false
List does not contain a user with the specified strUserName.
TheUser class
TheUserList class
TheUserList methods