RT 6.0.0 Documentation

RT::Record::Role::Principal

Go to latest version →

NAME

RT::Record::Role::Principal - Common methods for records which have a Principal object

REQUIRES

PrincipalField or PrincipalId column

The field that stores the principal's id.

PROVIDES

PrincipalId

Returns this object's PrincipalId

PrincipalObj

Returns the principal object for this object. returns an empty RT::Principal if there's no principal object matching this object. The response is cached. PrincipalObj should never ever change.

SavedSearches

Return the principal's corresponding RT::SavedSearches collection.

SavedSearches

Return the principal's corresponding RT::Dashboards collection.

← Back to index