C#.net code
In a C#.net 2008 desktop application I am working on there is a reference to: System.Security.Principal.WindowsIdentity. This is probably windows identity when a person signs on to a workstation. Is this the same the same as accessing the active directory? If not, can you tell me the difference between the active directory and the .net member I listed above?
Sam HobbsPosted Aug 19, 2011, 5:23 PM
http://social.msdn.microsoft.com/Search/en-US?query=System.Security.Principal.WindowsIdentity&ac=8
Then from the results I looked at What data is returned from System.Security.Principal.WindowsIdentity.GetCurrent.user?.
It says that "WindowsIdentity.Name calls internally LsaLookupSids" so I looked at LsaLookupSids Function (Windows). It appears to be Windows security but not Active Directory. Does that help?
You can also try something such as:
http://social.msdn.microsoft.com/Search/en-US?query=active%20directory%20c%23&beta=0&ac=1
to attempt to determine what does use Active Directory.