3.71 PhoneNumber

Describes a phone number in an address book entry. --For GroupWise 2012 and later.

3.71.1 Properties

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

Property

Access

Description

Application

R/O

Session. Returns the session containing this object.

Carrier

R/O

CellPhoneCarrierConstants. Returns the wireless carrier. Only valid for cell phone and car phone numbers.

DefailtPhoneNumber

R/O

Boolean. TRUE if this is the user's default phone number.

Parent

R/O

AddressBookEntry. Returns the owning address book entry.

PhoneNumber

R/O

String. The digits of the phone number

PhoneNumberType

R/O

PhoneNumberConstants. The type of the phone number.

3.71.2 Methods

Delete()

Deletes the phone number. Only valid on a personal address book entry.

MakeDefaultPhoneNumber()

Sets this as the default phone number for this contact. Only valid on a personal address book entry.

GetCustomCarrier(string *bsCarrier, string *bsEmailGateway );

Returns the carrier name and email gateway for this phone number if it is a custom defined carrier.