Change the contact's roles.
It's preferred to call this rather than setting RoleDetails.roles directly, as this method gives error notification and will only return once the roles have been written to the relevant backing store (or the operation's failed).
roles |
the set of roles |
PropertyError |
if setting the roles failed |
0.6.2