How do you get the Windows login and password of the person who is
logged in? Is it possible?
*** Sent via Developersdex http://www.developersdex.com *** 8 2427
hi Mike,
Mike P wrote:
How do you get the Windows login and password of the person who is
logged in? Is it possible?
No.
mfG
--stefan <--
"Stefan Hoffmann" <st************ *@explido.dewro te in message
news:uC******** ******@TK2MSFTN GP06.phx.gbl...
hi Mike,
Mike P wrote:
>How do you get the Windows login and password of the person who is logged in? Is it possible?
No.
Well, yes to username, but not password. The password is collected in a
window on a trusted secure desktop that no other program can access.
>
mfG
--stefan <--
You can sure get the login name... Environment.Use rname, password no...
VJ
"Stefan Hoffmann" <st************ *@explido.dewro te in message
news:uC******** ******@TK2MSFTN GP06.phx.gbl...
hi Mike,
Mike P wrote:
>How do you get the Windows login and password of the person who is logged in? Is it possible?
No.
mfG
--stefan <--
hi VJ,
VJ wrote:
You can sure get the login name... Environment.Use rname, password no...
And what will be the (Boolean) result of Yes And No?
>>How do you get the Windows login and password of the person who is logged in? Is it possible?
No.
scnr
--stefan <--
Sorry Stefan I did not understand your question
Here is what I meant to say,
You can get the Windows Login Name using the statement
string currentUser = Environment.Use rname;
You cannot get the Windows Login Password, not available to any program.
VJ
"Stefan Hoffmann" <st************ *@explido.dewro te in message
news:OI******** ******@TK2MSFTN GP03.phx.gbl...
hi VJ,
VJ wrote:
>You can sure get the login name... Environment.Use rname, password no...
And what will be the (Boolean) result of Yes And No?
>>>How do you get the Windows login and password of the person who is logged in? Is it possible? No.
scnr
--stefan <--
hi VJ,
VJ wrote:
Sorry Stefan I did not understand your question
The original question:
>>>>How do you get the Windows login and password of the person who is logged in? Is it possible?
He asks for login _and_ password.
btw, I can only imagine one situation for what you will use such an
information... call me paranoid.
mfG
--stefan <--
sure... understand.
VJ
"Stefan Hoffmann" <st************ *@explido.dewro te in message
news:uD******** ******@TK2MSFTN GP03.phx.gbl...
hi VJ,
VJ wrote:
>Sorry Stefan I did not understand your question
The original question:
>>>>>How do you get the Windows login and password of the person who is >logged in? Is it possible?
He asks for login _and_ password.
btw, I can only imagine one situation for what you will use such an
information... call me paranoid.
mfG
--stefan <--
I have managed to do what I was trying to do without the password, with
the following code :
oNS.Logon(strUs erName, System.Reflecti on.Missing.Valu e, false, true);
Now I need to do something a bit more difficult, I need to create a new
folder called archive programmaticall y and move the emails in my inbox
to it in a for loop.
Outlook.MailIte m oMsg;
int i;
//Loop through each message
for (i = 1; i < oItems.Count + 1; i++)
{
oMsg = (Outlook.MailIt em)oItems.Item( i);
//move msg to archive folder
}
*** Sent via Developersdex http://www.developersdex.com *** This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: bob |
last post by:
hi,
I want to redirect my user to another page.
With ASP (not .Net) and IIS 5.0, under windows 2000 server.
We have installed the component WinHTTP that is used to manipulate http
requests.
We want to automatically identify the user through his Windows login/pwd
(NTML) He does not need to type it.
|
by: Dave |
last post by:
Hi,
Is there anyway to mimic forms authentication's loginUrl
and RedirectFromLoginPage functionality using Windows
authentication?
We are developing intranet sites using basic
authentication and we want to always redirect a user to a
default 'splash' or welcome page that is set to anonymous
if they are not logged in. This page would have
|
by: Thomas Scheiderich |
last post by:
I am having a problem connecting to an Sql Server using Windows
Authentication.
I am using the following command:
server=Raptor;uid=tfs;password=tol1ee;database=ABC;Network Library =dbmssocn
This works fine if Sql Server is set up as Sql and Windows Authentication.
If I change the Sql Server to Windows Authentication, I get the following
page:
|
by: Kevin Yu |
last post by:
is it possible to for user to click a logout button to logout and when the
user want to get into the system again, the user have to login again?
Kevin
|
by: MSK |
last post by:
Hi,
Continued to my earlier post regaring "Breakpoints are not getting hit"
, I have comeup with more input this time.. Kindly give me some idea.
I am a newbie to .NET, recently I installed .NET. I could not debug
using breakpoints,
breakpoints are not getting hit, but the application is working fine
with out any issue.
| |
by: TheDude5B |
last post by:
Hi,
I have a problem with existing customers from an old site, coming to
my new asp.net 2.0 site with the user roles and membership, and trying
to login with their old details.
As you know, the new built in membership encrypts passwords (I know
you can use the system without encrypting the passwords, but this what
i have unfortunetaly gone with), so I can not simply import the data
from the old database into the new one.
|
by: admlangford |
last post by:
Hello, we have an ASP.NET website which uses NT authentication to
authenticate against an AD server.
We then have a set of business objects which are used to store /
retrieve information into database tables.
The business objects retrieve the connection string from the
web.config and use Integrated Security to connect to the database
e.g our connection string looks like the following
|
by: satishknight |
last post by:
Hi,
Can some one tell me how to change the validation sequence for the code pasted below, actually what I want it when any one enters the wrong login information (already registered users) then it has to tell then them its wrong information but currently it takes then to a next page and then tells them its incorrect information. This is tedious as every time they enter wrong they will be redirected to a different page and then they have to...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |