private void ListUserRoles() { openTasks++; UserRoleService.List() .SetCompletion(new OnCompletedHandler <ListResponse <UserRole> >(OnUserRoleListComplete)) .Execute(client); }
private void ListUserRolesWithImpersonation() { openTasks++; UserRoleService.List() .WithUserId(IMPERSONATION_TEST_USER_ID) .SetCompletion(new OnCompletedHandler <ListResponse <UserRole> >(OnUserRoleListComplete)) .Execute(client); }