---
title: "ABSetMe(_:_:)"
framework: addressbook
role: symbol
role_heading: Function
path: "addressbook/absetme(_:_:)"
---

# ABSetMe(_:_:)

Sets the record that represents the logged-in user.

## Declaration

```swift
func ABSetMe(_ addressBook: ABAddressBookRef!, _ moi: ABPersonRef!)
```

## Parameters

- `addressBook`: The address book for the logged-in user.
- `moi`: The ABPerson object that represents the logged-in user. Pass NULL if you don’t want a record to represent the logged-in user.

## See Also

### People

- [ABCopyArrayOfAllPeople(_:)](addressbook/abcopyarrayofallpeople(_:).md)
- [ABGetMe(_:)](addressbook/abgetme(_:).md)
- [ABPersonCopyImageData(_:)](addressbook/abpersoncopyimagedata(_:).md)
- [ABPersonCopyParentGroups(_:)](addressbook/abpersoncopyparentgroups(_:).md)
- [ABPersonCopyVCardRepresentation(_:)](addressbook/abpersoncopyvcardrepresentation(_:).md)
- [ABPersonCreate()](addressbook/abpersoncreate().md)
- [ABPersonCreateSearchElement(_:_:_:_:_:)](addressbook/abpersoncreatesearchelement(_:_:_:_:_:).md)
- [ABPersonCreateWithVCardRepresentation(_:)](addressbook/abpersoncreatewithvcardrepresentation(_:).md)
- [ABPersonSetImageData(_:_:_:)](addressbook/abpersonsetimagedata(_:_:).md)
