(Quick Reference)

changeOwner

Purpose

Change the ACL owner for a domain class instance.

Examples

aclUtilService.changeOwner reportInstance, 'user123'

Description

void changeOwner(domainObject, String newUsername)

Parameters

  • domainObject - the domain class instance
  • newUsername - the username of the new owner