How to find a single user based on a column

How How to find a single user based on a column in cakephp3 .
Thanks

if you mean in query you can use
->findByUser($user_name)

findBy(ColumnName)($variable_with_user_name)