3.2 AccountRights

Provides access rights to an account.

3.2.1 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.

ModifySecurity

R/W

Boolean. TRUE if the user can modify security.

The proxy user has access to change your password, notification, proxy access, and send options.

NOTE:You need ModifyPrefsRulesGroups specified TRUE to change the ModifySecurity setting.

ModifyFolders

R/W

Boolean. TRUE if the user can create/modify folders.

ModifyRules

R/W

Boolean. TRUE if the user can create/modify rules.

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.

3.2.2 Methods

Delete()

Deletes the user's access rights to the account.

3.2.3 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.