Can we POST comments in SharePoint Modern Page on behalf of another user from code behind using API?

%3CLINGO-SUB%20id%3D%22lingo-sub-1749133%22%20slang%3D%22en-US%22%3ECan%20we%20POST%20comments%20in%20SharePoint%20Modern%20Page%20on%20behalf%20of%20another%20user%20from%20code%20behind%20using%20API%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1749133%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20it%20possible%20to%20post%20comments%20in%20sharepoint%20modern%20page%20on%20behalf%20of%20another%20user%20(i.e.%20I%20want%20to%20pass%20comment%20author%20while%20posting%20comment)%20from%20code%20behind%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20tried%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fwww.vrdmn.com%2F2017%2F07%2Fworking-with-page-comments-rest-api-in.html%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.vrdmn.com%2F2017%2F07%2Fworking-with-page-comments-rest-api-in.html%3C%2FA%3E%26nbsp%3Bbut%20here%20I%20cannot%20pass%20Author%20name%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERegards%2C%3C%2FP%3E%3CP%3EKalpesh%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Frequent Visitor

Hi,

 

Is it possible to post comments in sharepoint modern page on behalf of another user (i.e. I want to pass comment author while posting comment) from code behind?

 

I tried https://www.vrdmn.com/2017/07/working-with-page-comments-rest-api-in.html but here I cannot pass Author name 

 

 

Regards,

Kalpesh

0 Replies