The Viewpoint Roles RESTful APIs provide a list of all roles and support the automation of Viewpoint roles.