XP Login-ID authentication

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

Guest

Folks,

1 How can I retrieve the current-user's XP login-id and display it in a
win-form
2 How can I retireve that same login-id and display it in a web-form.

Many thanks,
Avi
(e-mail address removed)
 
Avi said:
1 How can I retrieve the current-user's XP login-id and display it in a
win-form
2 How can I retireve that same login-id and display it in a web-form.



For a winform:

System.Security.Principal.WindowsIdentity.GetCurrent().Name

For a webform:

HttpContext.Current.User.Identity.Name

Lowell
 
Shariq,

Thank you it worked indeed.

Is there a way for me to authenticate the user once s/he types in their
password?

Cheers,
Avi
(e-mail address removed)
 
Lowell,

Thank you it worked indeed.

Is there a way for me to authenticate the user once s/he types in their
password?

Cheers,
Avi
(e-mail address removed)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top