def get_role_assignments_for_user(user_db):
 result = UserRoleAssignment.query(user=user_db.name)
 return result

def get_role_assignments_for_user ( user_db ) : result = UserRoleAssignment . query ( user = user_db . name ) return result
retrieve all the userroleassignmentdb objects for a particular user .