Contents

ABGroupCopyDistributionIdentifier(_:_:_:)

Returns the distribution identifier for the given propertyand person.

Declaration

func ABGroupCopyDistributionIdentifier(_ group: ABGroupRef!, _ person: ABPersonRef!, _ property: CFString!) -> Unmanaged<CFString>!

Parameters

  • group:

    The group object that person belongs to.

  • person:

    A person object whose distribution identifier you want to obtain.

  • property:

    The name of a person’s multi-value list property whose distribution identifier you want to obtain.

Return Value

The distribution identifierfor person and property ifit was set, otherwise returns the property’s primary identifier.If either person or property are NULL,this function returns NULL. Also,returns NULL if property isnot a multi-value list property. You are responsible for releasingthis object.

Discussion

Use the ABGroupSetDistributionIdentifier(_:_:_:_:) functionto set the distribution identifier for a person’s multi-valuelist property.

See Also

Groups