Failing to get the UserName and Domain Name From ManagementObjectCollection

  • Thread starter Thread starter DeepakHirapur
  • Start date Start date
D

DeepakHirapur

Guest
I am failing to get the Domain name and user name in wrong format using System.Management.ManagementObjectCollection , From the Management object collection when am retrieving the "Username" as it is coming in the below format.

<SystemName>//<DomainName>//<UserName>

<SystemName> is concatenating with Domain name and user name .

After Changing the PC name and restarting ,The Domain name and Username getting correct from the ManagementObjectCollection in the correct format<DomainName>//<UserName>

I followed the steps :

1) Hosted the win8.1 PC with Microsoft Credentials

Please help anyone ..!

Continue reading...
 

Similar threads

Back
Top