|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Currently logged in user's emailHi
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 John,
> I hope not while it is in my opinion hacking if you do that.> 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. > 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 Show quoteHide quote "Cor Ligthert [MVP]" <notmyfirstn***@planet.nl> wrote in message news:O2zk7bYVGHA.4956@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 Show quoteHide quote "Cor Ligthert [MVP]" <notmyfirstn***@planet.nl> wrote in message news:O2zk7bYVGHA.4956@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 Show quoteHide quote "John" <John@nospam.infovis.co.uk> schreef in bericht news:%23HK3UPaVGHA.5332@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]" <notmyfirstn***@planet.nl> wrote in message > news:O2zk7bYVGHA.4956@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/default.asp?url=/library/en-us/dndotnet/html/dotnetadsearch.asp Show quoteHide quote "John" <John@nospam.infovis.co.uk> wrote in message news:%23HK3UPaVGHA.5332@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]" <notmyfirstn***@planet.nl> wrote in message > news:O2zk7bYVGHA.4956@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.
Show quoteHide quote "Jim Hughes" <NOSPAMJ3033@Hotmail.com> wrote in message news:OKJJYcaVGHA.4424@TK2MSFTNGP10.phx.gbl... > Check out the DirectoryServices namespace > > http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/html/dotnetadsearch.asp > > "John" <John@nospam.infovis.co.uk> wrote in message > news:%23HK3UPaVGHA.5332@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]" <notmyfirstn***@planet.nl> wrote in message >> news:O2zk7bYVGHA.4956@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 Show quoteHide quote "Jim Hughes" <NOSPAMJ3033@Hotmail.com> wrote in message news:OKJJYcaVGHA.4424@TK2MSFTNGP10.phx.gbl... > Check out the DirectoryServices namespace > > http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/html/dotnetadsearch.asp > > "John" <John@nospam.infovis.co.uk> wrote in message > news:%23HK3UPaVGHA.5332@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]" <notmyfirstn***@planet.nl> wrote in message >> news:O2zk7bYVGHA.4956@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 >>> >> >> > >
Option Strict On
disabling controls by checking off a radio button when the form loads Can't close EXCEL from my VB.NET application Passing a Variable from one web site to another for ASP ContainsFocus equivalent in VB SENDMail Use active directory to scan for software on a remote system? Get Memory Usage of my Program Double-Buffering in VB2005? save string var to html file without losing format |
|||||||||||||||||||||||