My required flow is to create a folder, upload a file and share the folder to some users using onedrive. According to my research, I can create a folder, upload a file but I can't find how to share the folder
(1) Create folder
var folderToCreate = new Item { Name = folderName, Folder = new Folder() };
var newFolder = await client.Drive.Items[parentId].Children.Request().AddAsync(folderToCreate);
(2) Upload a file
upload files successfully via
item = await oneDriveClient.Drive.Root.ItemWithPath(itemPath).Content.Request().PutAsync<Item>(memStream);
(3) Share to some user
???
Is it possible using this SDK/Api or Should I use Sharepoint for that?
Hi.
My required flow is to create a folder, upload a file and share the folder to some users using onedrive. According to my research, I can create a folder, upload a file but I can't find how to share the folder
(1) Create folder
(2) Upload a file
(3) Share to some user
Is it possible using this SDK/Api or Should I use Sharepoint for that?
Thank you