Valid user cannot be resolved
Posted on 2009-12-23
I am using below code to resolve the "userName". It works absolutely fine
for 99% users but cannot resolve some of our users. Could anyone please
suggest what could be wrong? I am not sure but it has to do something with
their stored Outlook information?
Set rcp = Application.Session.CreateRecipient(userName)
If NOT rcp.Resolved = True Then
MsgBox "User " & """" & userName & """ could not be resolved."