How to show only elements from an External List, where login or names is the same as for the currently logged in user?

  • 1
    Please be clear what is needed. Sep 1, 2014 at 9:53
  • I have got a External List, and I want to corelate by the Login or the Name and Surname of Worker. And when the User login for his account he will show only things on which record is his Login, or Name and Surname.
    – Grzegorz Z
    Sep 1, 2014 at 10:02
  • How did you got the External Content Type work? VS or SPD? Sep 1, 2014 at 10:16

1 Answer 1


This can be better done at the External Content Type level. In the ReadList method, get the current user and check with an if condition whether the username matches the current username before returning the IEnumerable or the collection.

  • Have You got any Turorial of it ? :)
    – Grzegorz Z
    Sep 1, 2014 at 10:58
  • 1
    Yes follow from here: malindesilva.net/2014/07/sharepoint-2013-external-list.html Sep 1, 2014 at 11:21
  • But it is Visual Studio, not a Sharepoint Designer. I don't have Yet any Developement Studio Prepered.
    – Grzegorz Z
    Sep 1, 2014 at 11:49
  • 1
    Yes you may be able to do it with views. That is the option as of now. If you are making things work with views make sure you fill all the possible security gaps. Sep 1, 2014 at 11:51
  • 1
    If you have a user column in the External list, then you can filter that column by [Me] Sep 1, 2014 at 12:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.