By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,524 Members | 1,330 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,524 IT Pros & Developers. It's quick & easy.

Currently logged in user's email

P: n/a
Hi

We can get the current logged in user's name but is it also possible to get
the default email form outlook of the currently logged-in user as well? The
reason for this is that I need to email the users warnings from time to
time. As the system may be running by different users on different pcs, I
need to pick up the email of the currently logged-in user to send him/her
the email.

Thanks

Regards
Apr 1 '06 #1
Share this Question
Share on Google+
7 Replies


P: n/a
John,

We can get the current logged in user's name but is it also possible to
get the default email form outlook of the currently logged-in user as
well? The reason for this is that I need to email the users warnings from
time to time. As the system may be running by different users on different
pcs, I need to pick up the email of the currently logged-in user to send
him/her the email.

I hope not while it is in my opinion hacking if you do that.

If you need that, than you can ask that (in your program) to the user, and
he can decide to give you that or not.

Just my thought,

Cor
Apr 1 '06 #2

P: n/a
I need the message to end up in user's outlook for record as there is some
information in there. The user can also forward this information if/when
needed.

Regards

"Cor Ligthert [MVP]" <no************@planet.nl> wrote in message
news:O2**************@TK2MSFTNGP09.phx.gbl...
John,

We can get the current logged in user's name but is it also possible to
get the default email form outlook of the currently logged-in user as
well? The reason for this is that I need to email the users warnings from
time to time. As the system may be running by different users on
different pcs, I need to pick up the email of the currently logged-in
user to send him/her the email.

I hope not while it is in my opinion hacking if you do that.

If you need that, than you can ask that (in your program) to the user, and
he can decide to give you that or not.

Just my thought,

Cor

Apr 1 '06 #3

P: n/a
PS: How is sending email to the user who is currently using the app hacking?
This is how the organization wants it to be so the user can double check
what entries he/she has done from the reminders that have come in their
inbox. This is a way to keep a check on what entries were made and also for
user's protection so he/she can provide these as proof.

Regards

"Cor Ligthert [MVP]" <no************@planet.nl> wrote in message
news:O2**************@TK2MSFTNGP09.phx.gbl...
John,

We can get the current logged in user's name but is it also possible to
get the default email form outlook of the currently logged-in user as
well? The reason for this is that I need to email the users warnings from
time to time. As the system may be running by different users on
different pcs, I need to pick up the email of the currently logged-in
user to send him/her the email.

I hope not while it is in my opinion hacking if you do that.

If you need that, than you can ask that (in your program) to the user, and
he can decide to give you that or not.

Just my thought,

Cor

Apr 1 '06 #4

P: n/a
John,

Sending mail is not hacking.

To make it possible to get an emailadres from a system is opening ways to
hack.

You are not the only one who does what you say.
The only thing is that the user gives than his email adres to you.
You don't get it from the system.

Even Microsoft does that, do you think that it would be very much work from
them to get it from the system as they wanted that.

As mostly the goods have to suffer from the bads.

Cor

"John" <Jo**@nospam.infovis.co.uk> schreef in bericht
news:%2****************@tk2msftngp13.phx.gbl...
PS: How is sending email to the user who is currently using the app
hacking? This is how the organization wants it to be so the user can
double check what entries he/she has done from the reminders that have
come in their inbox. This is a way to keep a check on what entries were
made and also for user's protection so he/she can provide these as proof.

Regards

"Cor Ligthert [MVP]" <no************@planet.nl> wrote in message
news:O2**************@TK2MSFTNGP09.phx.gbl...
John,

We can get the current logged in user's name but is it also possible to
get the default email form outlook of the currently logged-in user as
well? The reason for this is that I need to email the users warnings
from time to time. As the system may be running by different users on
different pcs, I need to pick up the email of the currently logged-in
user to send him/her the email.

I hope not while it is in my opinion hacking if you do that.

If you need that, than you can ask that (in your program) to the user,
and he can decide to give you that or not.

Just my thought,

Cor


Apr 1 '06 #5

P: n/a
Check out the DirectoryServices namespace

http://msdn.microsoft.com/library/de...etadsearch.asp

"John" <Jo**@nospam.infovis.co.uk> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
PS: How is sending email to the user who is currently using the app
hacking? This is how the organization wants it to be so the user can
double check what entries he/she has done from the reminders that have
come in their inbox. This is a way to keep a check on what entries were
made and also for user's protection so he/she can provide these as proof.

Regards

"Cor Ligthert [MVP]" <no************@planet.nl> wrote in message
news:O2**************@TK2MSFTNGP09.phx.gbl...
John,

We can get the current logged in user's name but is it also possible to
get the default email form outlook of the currently logged-in user as
well? The reason for this is that I need to email the users warnings
from time to time. As the system may be running by different users on
different pcs, I need to pick up the email of the currently logged-in
user to send him/her the email.

I hope not while it is in my opinion hacking if you do that.

If you need that, than you can ask that (in your program) to the user,
and he can decide to give you that or not.

Just my thought,

Cor


Apr 1 '06 #6

P: n/a
Bit complicated for me.

"Jim Hughes" <NO*********@Hotmail.com> wrote in message
news:OK**************@TK2MSFTNGP10.phx.gbl...
Check out the DirectoryServices namespace

http://msdn.microsoft.com/library/de...etadsearch.asp

"John" <Jo**@nospam.infovis.co.uk> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
PS: How is sending email to the user who is currently using the app
hacking? This is how the organization wants it to be so the user can
double check what entries he/she has done from the reminders that have
come in their inbox. This is a way to keep a check on what entries were
made and also for user's protection so he/she can provide these as proof.

Regards

"Cor Ligthert [MVP]" <no************@planet.nl> wrote in message
news:O2**************@TK2MSFTNGP09.phx.gbl...
John,
We can get the current logged in user's name but is it also possible to
get the default email form outlook of the currently logged-in user as
well? The reason for this is that I need to email the users warnings
from time to time. As the system may be running by different users on
different pcs, I need to pick up the email of the currently logged-in
user to send him/her the email.

I hope not while it is in my opinion hacking if you do that.

If you need that, than you can ask that (in your program) to the user,
and he can decide to give you that or not.

Just my thought,

Cor



Apr 1 '06 #7

P: n/a
PS: In outlook I can get it using Application.Session.CurrentUser.Address.

Regards

"Jim Hughes" <NO*********@Hotmail.com> wrote in message
news:OK**************@TK2MSFTNGP10.phx.gbl...
Check out the DirectoryServices namespace

http://msdn.microsoft.com/library/de...etadsearch.asp

"John" <Jo**@nospam.infovis.co.uk> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
PS: How is sending email to the user who is currently using the app
hacking? This is how the organization wants it to be so the user can
double check what entries he/she has done from the reminders that have
come in their inbox. This is a way to keep a check on what entries were
made and also for user's protection so he/she can provide these as proof.

Regards

"Cor Ligthert [MVP]" <no************@planet.nl> wrote in message
news:O2**************@TK2MSFTNGP09.phx.gbl...
John,
We can get the current logged in user's name but is it also possible to
get the default email form outlook of the currently logged-in user as
well? The reason for this is that I need to email the users warnings
from time to time. As the system may be running by different users on
different pcs, I need to pick up the email of the currently logged-in
user to send him/her the email.

I hope not while it is in my opinion hacking if you do that.

If you need that, than you can ask that (in your program) to the user,
and he can decide to give you that or not.

Just my thought,

Cor



Apr 1 '06 #8

This discussion thread is closed

Replies have been disabled for this discussion.