how to get the user's loginid
-
dear friend, i want to get the user's loginid in to my VB / ASP applications. can anyone please help. you may please throw some light on various ways of getting this info. we are having Windows server 2003 domain and as soon as a user logs into the domain using Windows Authentication, i want to run a service to get his loginid & proceed with other tasks. thanks
-
dear friend, i want to get the user's loginid in to my VB / ASP applications. can anyone please help. you may please throw some light on various ways of getting this info. we are having Windows server 2003 domain and as soon as a user logs into the domain using Windows Authentication, i want to run a service to get his loginid & proceed with other tasks. thanks
-
dear friend, i want to get the user's loginid in to my VB / ASP applications. can anyone please help. you may please throw some light on various ways of getting this info. we are having Windows server 2003 domain and as soon as a user logs into the domain using Windows Authentication, i want to run a service to get his loginid & proceed with other tasks. thanks
Try (ASP.NET C#) User.Identity.Name.ToString() or string user = HttpContext.Current.User.Identity.Name.ToString(); user = user.Substring(user.LastIndexOf("\\") + 1); Hope this help.