title: How to check if user 'sa' (SQL Server) is enable with vb.net
body: <p>I would like to know if is possible to check if user 'sa' is enable (SQL Server 2005), but with vb.net.</p>
  
  <p>I tried to find it with this query <code>select * syslogins</code>, but here I can´t find it.</p>
  
  <p>Thanks advanced</p>
  
  <p>Please take a look to this screenshot
  sa is disable and I get hasaccess = 1
  <a href="https://i.stack.imgur.com/PQ9ej.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/PQ9ej.png" alt="Update 1"></a></p>
  
  <p>sa is enable and I get hasaccess = 1</p>
  
  <p><a href="https://i.stack.imgur.com/ESoYB.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ESoYB.png" alt="Update 2"></a></p>