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 7 1760
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
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
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
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
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
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
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
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Marcin Zmyslowski |
last post by:
Hello all!
I want to create a page in ASP language which gives me information about
currently logged users. I thought to do it by this way: when somebody
will log in to page, there will be a...
|
by: anonymous |
last post by:
Hi all,
I've been searching the way to achieve the following task.
But no luck so far.
I have a web site(main site), which requires authentication. This
authentication is set at Windows...
|
by: ChrisB4745 |
last post by:
I'm working on a system service application that is supposed to report various information about the computer it is running on back to a central server. One of the things I need to know is the...
|
by: sushi |
last post by:
Hello,
I am running a ASP.Net application. It runs by defaul in the context
of ASPNET user. I want to dynamically impersonate it so as to run in the
context of currently logged in user. I know it...
|
by: SStory |
last post by:
I have a service which has no U/I, that I use to ensure a certain tray
application is running.
I would like for the service which runs under "Local System", to create the
process as a normal app...
|
by: John |
last post by:
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...
|
by: MuZZy |
last post by:
Hi,
I am looking to find a way to get currently logged in user's object GUID
without querying ActiveDirectory. For example, when i log in to my
laptop from home, I'm not on the office network so...
|
by: simonlpwaters |
last post by:
I need to obtain the username of the currently logged in user on a
machine. However, the program that needs to do this will be running
under different credentials to the logged in user, so using...
|
by: gihope |
last post by:
Hi, can anyone advise me how I can access the UserName of a currently logged in user without using the LoginName control.
For instance I want to search tables I have created in my database that I...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i 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,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
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...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
| |