Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Installation and Configuration / December 2004

Tip: Looking for answers? Try searching our database.

PRF Variable Question...

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Derrick - 15 Dec 2004 20:19 GMT
Can anyone tell me what VARIABLE I can use for the following section found in
the PRF file...

DisplayName=

We do use Active Directory
We DO NOT USE Exchange

I've got my custom PRF file working beautifully, but I can't figure out what
the variable is for DisplayName=

I want the variable to complete with the users First and Last name.
Sue Mosher [MVP-Outlook] - 21 Dec 2004 18:54 GMT
This is for a POP or IMAP account, right? There is no environment variable
with that information. The closest you'll come is %username% which returns
the user's Windows login name.

The possible solution would be to use a Windows login script (not my area of
expertise) to preprocess the .prf file, performing a lookup to AD to get the
user's first and last name and writing those to the local .prf file's
DisplayName value. Then you'd run the .prf (or set the ImportPRF registry
value to make Outlook import it at next run).

Signature

Sue Mosher, Outlook MVP
Author of
    Microsoft Outlook Programming - Jumpstart for
    Administrators, Power Users, and Developers
    http://www.outlookcode.com/jumpstart.aspx

> Can anyone tell me what VARIABLE I can use for the following section found
> in
[quoted text clipped - 10 lines]
>
> I want the variable to complete with the users First and Last name.
Derrick - 21 Dec 2004 19:27 GMT
Excellent!  Thank you.  I'm not much for writing scripts either, maybe I can
find someone to assist.  Thank you again!

> This is for a POP or IMAP account, right? There is no environment variable
> with that information. The closest you'll come is %username% which returns
[quoted text clipped - 20 lines]
> >
> > I want the variable to complete with the users First and Last name.
Sue Mosher [MVP-Outlook] - 21 Dec 2004 19:47 GMT
Let me know if you do!

Signature

Sue Mosher, Outlook MVP
Author of
    Microsoft Outlook Programming - Jumpstart for
    Administrators, Power Users, and Developers
    http://www.outlookcode.com/jumpstart.aspx

> Excellent!  Thank you.  I'm not much for writing scripts either, maybe I
> can
[quoted text clipped - 13 lines]
>> DisplayName value. Then you'd run the .prf (or set the ImportPRF registry
>> value to make Outlook import it at next run).

>> > Can anyone tell me what VARIABLE I can use for the following section
>> > found
[quoted text clipped - 11 lines]
>> >
>> > I want the variable to complete with the users First and Last name.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.