Forum Discussion

tjfields's avatar
tjfields
Contributor
12 years ago

No email addresses in results from /restapi/vc/users/visited endpoint

When I get the results from this endpoint, there are sometimes no email addresses for the returned users.  On certain communities it does come back, but for others it does not.

 

Are there permission controls on the results?  To clarify, if the user credentials being used for the API call don't have permission to see this data, could this be causing the results to come back without email address?

  • DougS's avatar
    DougS
    Khoros Oracle

    Yes -- it should only return email addresses when the user you are making the call as has permission to see them.

    • DougS's avatar
      DougS
      Khoros Oracle

      You can see the user's email address if you have permission to manage users, or if a user allows just friends and you are a friend, or if the user allows anyone see their email address (through the "my settings" > "prefrerences" > "privacy").

      • tjfields's avatar
        tjfields
        Contributor

        Thank you for the response, this clarifies it.  When you mention a user needs the ability to manage users, where is this set?