title: How to check in sharepoint if user is authenticated by Claims?
body: <p>I've created few webparts in Sharepoint 2010. In current version users are authenticated by Ad login, but now custome want to customize it and allow authentication by AD login or by email name - using Claims (on different application pools).</p>
  
  <p>My problem is that I have to check if user is authenticated by claims or not (to use this in my admin webpart).<br>
  I know that I can check user login name in sharepoint and if it is in this form: <strong>i:0#.f|ldapmember|user@example.com</strong> it means that I have Claims turned on.</p>
  
  <p>But maybe there is better way to check if Claims is turned on? Does anyone know that method?</p>