PRF Variable Question...

G

Guest

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.
 
S

Sue Mosher [MVP-Outlook]

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).
 
G

Guest

Excellent! Thank you. I'm not much for writing scripts either, maybe I can
find someone to assist. Thank you again!
 
S

Sue Mosher [MVP-Outlook]

Let me know if you do!

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top