S
SeeMing
Hi,
Refer to the following code...
Set oCurrUser = New Redemption.SafeCurrentUser
sName = oCurrUser.Name ' works online and offline
sAccount = oCurrUser.Fields(CdoPR_ACCOUNT) ' works online only
sCountry = oCurrUser.Fields(PR_CTRYCODE) ' works online only
oCurrUser.CleanUp
In Outlook offline mode, sName always returns current user, but the
sAccount and sCountry are always empty, why? Is there another offline
approach to get current user Account and Country? Many thanks.
See-Ming
Refer to the following code...
Set oCurrUser = New Redemption.SafeCurrentUser
sName = oCurrUser.Name ' works online and offline
sAccount = oCurrUser.Fields(CdoPR_ACCOUNT) ' works online only
sCountry = oCurrUser.Fields(PR_CTRYCODE) ' works online only
oCurrUser.CleanUp
In Outlook offline mode, sName always returns current user, but the
sAccount and sCountry are always empty, why? Is there another offline
approach to get current user Account and Country? Many thanks.
See-Ming