eZ\Publish\Core\Persistence\Legacy\User\Gateway\ExceptionConversion::removeRoleAssignmentById PHP Method

removeRoleAssignmentById() public method

Remove role from user or user group, by assignment ID.
public removeRoleAssignmentById ( mixed $roleAssignmentId )
$roleAssignmentId mixed
    public function removeRoleAssignmentById($roleAssignmentId)
    {
        try {
            return $this->innerGateway->removeRoleAssignmentById($roleAssignmentId);
        } catch (DBALException $e) {
            throw new RuntimeException('Database error', 0, $e);
        } catch (PDOException $e) {
            throw new RuntimeException('Database error', 0, $e);
        }
    }