Role public class Role The Role object provides general information about a role in a process instance. Properties string Name The name of the role ReadOnlyCollection<User> Users The users in the role Methods void Add(User user) Add a user to the role void Remove(User user) Remove a user from the role void ClearUsers() Remove all users from the Role Example This example prints the user names of all roles in the process instance. for role in ProcessInstance.Roles: for user in role.Users: print user.Name Users Roles