I'm looking for a way to add individual users or a public group to a Library programmatically using Apex.
I've been investigating if there is an API that let me do that, but I had no luck.
I know I can create a public group using Apex, but I don't find a way to link it to a Library.
Thank you in advance! :)