How I can get the Login Name of any computer into domain

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

For a Automatic Logon in my Web Site (Intranet / C#).
I need the user login for any computer into domain. I need get the login
name because I need validate the same with another roles table in SQL
Database. My problem is that I don´t know how retrieve the user login in the
computer.

(I need that my Intranet works like MS WebProject)

I very appreciatte any help
Regards
Ronald Morales
 
hi,

try to get hold of the ENVIRONMENT class

hth,
ronnel.santiago
asp.net developer
philippines
 
Another option: System.Security.Principal.WindowsIdentity.GetCurrent().Name

For a Automatic Logon in my Web Site (Intranet / C#).
I need the user login for any computer into domain. I need get the login
name because I need validate the same with another roles table in SQL
Database. My problem is that I don´t know how retrieve the user login in the
computer.

(I need that my Intranet works like MS WebProject)

I very appreciatte any help
Regards
Ronald Morales
 
Back
Top