How to create role (user-permission) from bootstrap function

It is impossible to find documentation on this!
I have figured this line but no matter what i pass I get undefined back:

strapi.plugins['users-permissions'].services.role.createRole()