Lotus Notes: How to get the full name of the user in a mail file

346195 pts.
Tags:
Lotus Notes
LotusScript
Just to start, I already have the mail file name and the server. But is there a way to retrieve the fully qualified name of the user that it corresponds to in the form CN=xxx/O=yyy using LotusScript? As I mentioned the username / server is already there but how can I get the full name out of this?

Answer Wiki

Thanks. We'll let you know when a new response is added.

Get the “Owner” field from the “(Calendar Profile)” profile doc.  So, something like this (untested):

Set profdoc=db.GetProfileDOcument(“(Calendar Profile)”)

userfqn = profdoc.Owner( 0 )

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • shivasanjay
    Following formula gives the name of the user. 
    @Name([CN];@UserName);


    2,510 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following