I am using LookupAccountName to get sid and domain name for the user.
LookupAccountName
My system is connected to domain controller. If I reboot the system, the LookupAcco