How do I get the manager for my profile using Outlook Redemption

J

jschmidt

Does anyone know how to get the Manager for a current user from the GA
using Outlook Redemption? I can get the information I require by usin
the following line of code:

OutlookNamespace.CurrentUser.AddressEntry.Manager.Name

However this triggers Outlook Security prompts, due to the fact that
am accessing the address book. I tried the following lines of cod
using Redemption:

Set currUser = CreateObject("Redemption.SafeCurrentUser")
currUser.Manager.Name

But it seems that I can only get properties such as Address or Nam
from the SafeCurrentUser, I cannot get the manager name

Thanks,
Jaso
 
K

Ken Slovak - [MVP - Outlook]

Are you using Outlook 2002 with no Exchange account? If so Redemption's
SafeCurrentUser can't get the information you want due to MAPI limitations
in that type of setup. See the FAQ for Redemption. Unfortunately there's no
workaround at the moment.
 
J

jschmidt

I am using Outlook 2002, but I am using an exchange email account. I'
receiving an object required error when attempting to access th
Manager.Name property through the Redemption SafeCurrentUser object.
found the hex code for the object I would like to access using Outloo
spy it's 8005000D, but it's an object off of SafeCurrentUser so I'm no
sure if I can access it.

Jaso
 
J

jschmidt

I am using Outlook 2002, but I am using an exchange email account. I'
receiving an object required error when attempting to access th
Manager.Name property through the Redemption SafeCurrentUser object.
found the hex code for the object I would like to access using Outloo
spy it's 8005000D, but it's an object off of SafeCurrentUser so I'm no
sure if I can access it.

Jaso
 
K

Ken Slovak - [MVP - Outlook]

Please post parts of the preceding thread in your posts. That interface you
are using doesn't do that and it makes it very hard to follow a thread.

Since Manager is an AddressEntry you can try setting it to a Redemption
AddressEntry object and seeing if you can get Name then. If not,
PR_MANAGER_NAME should be the correct property tag (0x3A4E001E).
 
J

jschmidt

Thanks for your help. I was able to obtain some support from Dmitr
(Programmer that created Redemption), the public version of Redemptio
does not support CurrentUser.Manager.Name from the ActiveX objec
Redemption.SafeCurrentUser. However, he did provide me with a new dl
that does support this functionality. I suspect that thi
functionality will be included with the next public release. For now
would suggest that anyone who would like to retreive a managers addres
entry using redemption should contact Dmitry, the website address i
http://www.dimastr.com/redemption
 
J

jschmidt

Thanks for your help. I was able to obtain some support from Dmitr
(Programmer that created Redemption), the public version of Redemptio
does not support CurrentUser.Manager.Name from the ActiveX objec
Redemption.SafeCurrentUser. However, he did provide me with a new dl
that does support this functionality. I suspect that thi
functionality will be included with the next public release. For now
would suggest that anyone who would like to retreive a managers addres
entry using redemption should contact Dmitry, the website address i
http://www.dimastr.com/redemption
 
J

jschmidt

Thanks for your help. I was able to obtain some support from Dmitr
(Programmer that created Redemption), the public version of Redemptio
does not support CurrentUser.Manager.Name from the ActiveX objec
Redemption.SafeCurrentUser. However, he did provide me with a new dl
that does support this functionality. I suspect that thi
functionality will be included with the next public release. For now
would suggest that anyone who would like to retreive a managers addres
entry using redemption should contact Dmitry, the website address i
http://www.dimastr.com/redemption
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top