Answers.Body: <p>Solution:</p>
  
  <pre><code>    {% set myReverseConnections = craft.users.relatedTo({
          targetElement: currentUser,
          field: 'yourCustomRelationshipField'
      }) %}
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-02-24T12:27:33.363Z
Answers.LastActivityDate: 2018-02-24T12:27:33.363Z
Answers.UserDisplayName: BillyMedia
Body: <p>I have a relationship field within my member profile. It allows users to connect to each other, i can list those that currentUser is connected to, but i need to list all other members that are connected to currentUser, i.e. a reverse relationship. </p>
  
  <p>I have this, but it just lists those that the currentUser is connected to, not the reverse, where am i going wrong?</p>
  
  <pre><code>{% set myReverseConnections = craft.users.relatedTo(currentUser) %}
  </code></pre>
  
Tags: <users><relations><user-profile><relatedto><current-user>
Title: List users connected to me
ThreadText: # List users connected to me
  
  (Asked by: username_0 on 2018-02-24)
  
  I have a relationship field within my member profile. It allows users to connect to each other, i can list those that currentUser is connected to, but i need to list all other members that are connected to currentUser, i.e. a reverse relationship.
  
  I have this, but it just lists those that the currentUser is connected to, not the reverse, where am i going wrong?
  
  ```
  {% set myReverseConnections = craft.users.relatedTo(currentUser) %}
  
  ```
  
  **Tags:** users, relations, user-profile, relatedto, current-user
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2018-02-24. Score: 1
  
  Solution:
  
  ```
      {% set myReverseConnections = craft.users.relatedTo({
          targetElement: currentUser,
          field: 'yourCustomRelationshipField'
      }) %}
  
  ```
  
  
  ---
  
  