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
ronnel.santiago - 10 Oct 2004 10:42 GMT
hi,
try to get hold of the ENVIRONMENT class
hth,
ronnel.santiago
asp.net developer
philippines
> 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.
>
[quoted text clipped - 3 lines]
> Regards
> Ronald Morales
Shiva - 10 Oct 2004 12:35 GMT
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