Provided that I have the mail file name and the server, how do I retrieve the fully qualified name of the user it corresponds to in the form "CN=xxx/O=yyy" using LotusScript?
To start with, I have the user's username - the part before @ in the email: i.e. [email protected]
I also know server, on which this user is registered, so I use Registration.GetUserInfo like this:
Dim reg as New NotesRegistration
reg.RegistrationServer = "CN=myserver/O=mydomain"
Call reg.GetUserInfo("user1", mailserver$, mailfile$)
The question is: how out of this data I can get the full name of the user?