fsX Posted September 1, 2004 Posted September 1, 2004 Anyone know how to get the name of the server that authenticated your login using C#? In this case it would be an Active Directory domain... Any ideas? Thanks, fsX Quote
Administrators PlausiblyDamp Posted September 2, 2004 Administrators Posted September 2, 2004 IIRC there should be an environment variable set - LOGONSERVER (I think) try string server = System.Environment.GetEnvironmentVariable("LOGONSERVER"); Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
fsX Posted September 3, 2004 Author Posted September 3, 2004 Thanks PlausiblyDamp, Will try it! :cool: Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.