View Single Post
  #9  
Old April 21st 08, 03:13 PM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,610
Default MAPI Session Logon error

Actually, it should be possible to do that by prefixing the userID with "=" to force an exact match, e.g. "=" & UserId

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"SvenC" wrote in message ...
Hi AVIS,

Set Session = New MAPI.Session
ProfileInfo = ExchangeServer & vbLf & UserId


If you have two userIds where one is the prefix of another
you cannot log on to the short userID with a dynamic
profile, because the two userIDs are counted as valid and none
is chosen automatically.

So if you have something like

"user" and "userA" you will not be able to log on with user
with a dynamic profile.

This got more complex with Exchange = 2000 because several
AD properties of a user are looked up. So the mailbox alias is only
one attribute to look at. We had problems with the windows logon
name as well.

So please verify if the problematic system is really the system or
if you just use a userID which is a prefix of another mailbox alias
or user name.

--
SvenC

Ads
 

Mortgage Calculator - Credit Counseling - MPAA - Loan - Mortgage