Hi
I am using form authentication and I need to get the windows
login name. How can I achieve this ? I have tried
strName = Principal.WindowsIdentity.GetCurrent.Name
strName = User.Identity.Name
but it does not work, can anyone enlighten me ? Thanks in
advance.
Best regards
SST
This e-mail and any attachments therewith are intended only
for the use of the address. This e-mail may contain
confidential and privileged information. Any unauthorized
use, copying or disclosure of information contained in this
e-mail or its attachments is strictly prohibited and may be
unlawful. If you have received this e-mail in error, please
contact the sender via return e-mail and delete this e-mail
and attachments thereafter. Any confidentiality or privilege
is not waived or lost because this e-mail has been sent to
you by mistake. Any liability for viruses is excluded to the
fullest extent permitted by law.
===================================
This list is hosted by DevelopMentorŪ http://www.develop.com
View archives and manage your subscription(s) at http://discuss.develop.com
|