AccountRights

Provides access rights to an account.

Properties

The following table lists properties along with their access and descriptions.

Property

Access

Description

Address

R/O

Address. The address of the user to whom access rights are being given.

Application

R/O

Application. The Application object.

Archive

R/W

Boolean. TRUE if the user can archive messages.

BitMask

R/W

Long. A bit mask that contains one bit for each Boolean property. See AccountRightsConstants for the bit definitions. This property is synchronized with the Boolean properties.

ModifyPrefsRulesGroups

R/W

Boolean. TRUE if the user can modify preferences, rules, and groups.

Parent

R/O

Object. The AccountRightsCollection or the Account object that owns this object.

ReadAppointments

R/W

Boolean. TRUE if the user can read appointments.

ReadMailPhone

R/W

Boolean. TRUE if the user can read mail and phone messages.

ReadNotes

R/W

Boolean. TRUE if the user can read notes.

ReadPrivate

R/W

Boolean. TRUE if the user can read private messages.

ReadTasks

R/W

Boolean. TRUE if the user can read tasks.

ReceiveAlarms

R/W

Boolean. TRUE if the user can receive alarms.

ReceiveNotifications

R/W

Boolean. TRUE if the user can receive notifications.

WriteAppointments

R/W

Boolean. TRUE if the user can write appointments.

WriteMailPhone

R/W

Boolean. TRUE if the user can write mail and phone messages.

WriteNotes

R/W

Boolean. TRUE if the user can write notes.

WriteTasks

R/W

Boolean. TRUE if the user can write tasks.

Methods

Delete()

Deletes the user's access rights to the account.

Remarks

The properties of the AccountRights object can only be written by the owner of the account.

An AccountRights object is refreshed when its parent object is refreshed. When an AccountRights object is refreshed, it recursively refreshes its Address object.