Add multiple user-roles in install profile
This should work:

// Make the first role
$role = new stdClass;
$role-&gt;name = 'Eindredacteur 1';
$role-&gt;weight = 3;
user_role_save($role);
$roleid_1 = $role-&gt;rid;

// Make the second role
$role = new stdClass;
$role-&gt;name = 'Eindredacteur 2';
$role-&gt;weight = 3;
user_role_save($role);
$roleid_2 = $role-&gt;rid;

// Permissions to assign to the role.
$perms = array(
'access content',
);

// Grant the permissions. This function takes care of all necessary cache resets
user_role_grant_permissions($roleid_1, $perms);    
user_role_grant_permissions($roleid_2, $perms);