A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

exchange user names



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old September 21st 06, 01:37 AM posted to microsoft.public.outlook.program_vba
Joel Allen
external usenet poster
 
Posts: 117
Default exchange user names

Hello,

I know there is field that returns the value out who modified the task last:
PR_LAST_MODIFIER_NAME.

But is there a field that can identify who the user is upon opening a task?

For example, I want to do this:

If user = John Smith
then make a certain field read only.


Thanks
Joel



Ads
  #2  
Old September 21st 06, 08:29 AM posted to microsoft.public.outlook.program_vba
news.microsoft.com
external usenet poster
 
Posts: 65
Default exchange user names

Try this

application.GetNameSpace("MAPI").CurrentUser it return's the name of
the current User

++

"Joel Allen" a écrit dans le message de news:
...
Hello,

I know there is field that returns the value out who modified the task
last:
PR_LAST_MODIFIER_NAME.

But is there a field that can identify who the user is upon opening a
task?

For example, I want to do this:

If user = John Smith
then make a certain field read only.


Thanks
Joel





 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
exchange user name Joel Allen Outlook and VBA 1 September 21st 06 06:56 PM
To Find Mail Box names in Exchange Server [email protected] Outlook - General Queries 5 September 5th 06 12:41 PM
Shared Calendars user names do not appear whican Outlook - Calandaring 0 July 18th 06 04:15 PM
Person Names Smart Tag should allow you to prefer exchange server Randal Hoffman Outlook - Using Contacts 4 March 30th 06 12:13 AM
How do I rename user defined field names? Sue Mosher [MVP-Outlook] Outlook - Using Contacts 1 January 19th 06 04:13 AM


All times are GMT +1. The time now is 12:51 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.