Utility that uses the CUserDomainSid class

Here is a utility that can be used to correct inadvertently restricted items in the Windows system registry.
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Using System.Management to get the User, Domain and SID

I have seen a few examples of VBS scripts used to get the User ID, Domain and SID of the current user. This information is valuable when making registry modifications for the current user programatically. I needed a way to retrieve that information in a .NET module to include in other .NET programs.
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati
«January»
SunMonTueWedThuFriSat
272829303112
3456789
10111213141516
17181920212223
24252627282930
31123456