Share via


Manager Property (AddressEntry Object)

Manager Property (AddressEntry Object)

The Manager property returns an AddressEntry object representing the manager of the user corresponding to this address entry. Read-only.

Syntax

Set objAddrEntry = objAddressEntry.Manager

objAddrEntry

Object. The returned AddressEntry object that represents the manager of the messaging user represented by this address entry.

objAddressEntry

Object. This AddressEntry object.

Data Type

Object (AddressEntry)

Remarks

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.

See Also

Concepts

AddressEntry Object