Fuego.Fdi.RoleAssignment[]
The list of roles assigned to the participant.
// Adding a Role assignment to a participant
newrole = DirOrganizationalRole.fetch(session :
mySession, id : "GralRole")
newAssignment = RoleAssignment.create(role : newrole,
permissions : 255)
myPart.rolesAssignment[] = newAssignment
update myPart
// Display all Roles assigned to this participant
for each r in myPart.rolesAssignment do
display "Assigned Role: " + r.roleId
end