Added SID and SamAccountName resolution functions