Platform SDK: CDO 1.2.1 |
The Manager property returns an AddressEntry object representing the manager of the user corresponding to this address entry. Read-only.
Set objAddrEntry = objAddressEntry.Manager
Object (AddressEntry)
You can use the Manager property when your organization stores management information in the MAPI system. This is possible, for example, with Microsoft® Exchange Server.
If the user's manager is not available in the MAPI system, the Manager property returns Nothing.
The Manager property does not correspond to a MAPI property and cannot be rendered into HTML hypertext by the CDO Rendering Library. It could be rendered as an object by setting the ObjectRenderer object's DataSource property to the AddressEntry object returned by the Manager property.
The Name property of the AddressEntry object returned by the Manager property corresponds to the MAPI property PR_MANAGER_NAME. To render just the manager's name, you can set the object renderer's DataSource property to this AddressEntry object and the property parameter of the RenderProperty method to CdoPR_MANAGER_NAME.