@person::getRecipientCategory

Returns the type of recipient; ie. PERSON.

Syntax:

@person::getRecipientCategory()

Parameters:

None

Returns:

(String) Type of recipient

Example:

This example retrieves the recipient category from a script object of an unknown type:

@targetRecipient = @event::getRecipient($content.recipient_target)

$type = @targetRecipient::getRecipientCategory()

@script::log($type)

Output:

PERSON