Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 722 Bytes

File metadata and controls

20 lines (14 loc) · 722 Bytes
description Automatically generated file. DO NOT MODIFY
// Code snippets are only available for the latest version. Current version is 6.x

GraphServiceClient graphClient = new GraphServiceClient(requestAdapter);

ProjectParticipation projectParticipation = new ProjectParticipation();
projectParticipation.setAllowedAudiences(EnumSet.of(AllowedAudiences.Organization));
CompanyDetail client = new CompanyDetail();
client.setDepartment("Corporate Marketing");
client.setWebUrl("https://www.contoso.com");
projectParticipation.setClient(client);
ProjectParticipation result = graphClient.me().profile().projects().byProjectParticipationId("{projectParticipation-id}").patch(projectParticipation);