PRF Variable Question...

  • Thread starter Thread starter Guest
  • Start date Start date
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.
 
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).
 
Excellent! Thank you. I'm not much for writing scripts either, maybe I can
find someone to assist. Thank you again!
 
Let me know if you do!

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