AddressBook.CurrentUser

From Xojo Documentation

Property (As AddressBookContact )


aAddressBook.CurrentUser = newAddressBookContactValue
or
AddressBookContactValue = aAddressBook.CurrentUser

Supported for all project types and targets.

Gets the current user's "me" entry.

Sample Code

This code accesses the current user's first name.

Dim book As New AddressBook
book = System.AddressBook
MsgBox(book.CurrentUser.FirstName.Value)