use RT::ACL; my $ACL = new RT::ACL($CurrentUser);
Hand out the next ACE that was found
Limit the ACL to rights for the object $object. It needs to be an RT::Record class.
Limit the ACL to the principal with PrincipalId Id and PrincipalType Type
Id is not optional. Type is.
if IncludeGroupMembership => 1 is specified, ACEs which apply to the principal due to group membership will be included in the resultset.
Don't list rights which have been delegated.
Limit the ACL to rights delegated by the principal whose Principal Id is Id
Id is not optional.
Limit the ACL to rights delegate from the ACE which has the Id specified by the Id parameter.
Id is not optional.