public getAclRolesByTeam ( integer $teamId ) : Scalr\Acl\Role\AccountRoleSuperposition | ||
$teamId | integer | The ID of the team |
return | Scalr\Acl\Role\AccountRoleSuperposition | Returns the list of the roles of account level by specified team |
public function getAclRolesByTeam($teamId)
{
return \Scalr::getContainer()->acl->getUserRolesByTeam($this, $teamId, $this->getAccountId());
}