title: Which is best function available in c++ to convert SID to Account username?
body: <p>I have sids of user accounts like this
  <code>S-1-5-21-4030387420-2927818341-1631038489-1001</code>
  I want simple c++ function which will convert this sid to username.
  if any of you have code for that then plz post</p>
  
  <p>Thank you in advance!!</p>