activities
latest
false
UiPath logo, featuring letters U and I in white
Productivity Activities
Last updated Nov 21, 2024

ShareFolder

Shares a folder.

Namespace: UiPath.MicrosoftOffice365.Activities.Api

Assembly: UiPath.MicrosoftOffice365.Activities.Api (in UiPath.MicrosoftOffice365.Activities.Api.dll)

Overloads

OverloadDescription
ShareFolder(IFolder, GranteePermission)Shares a folder with people in organization.
ShareFolder(IFolder, String, Nullable<DateTime>, GranteePermission)Shares a folder with anyone.
ShareFolder(IFolder, IEnumerable<String>, String, Boolean, GranteePermission)Shares a folder with specific people.

ShareFolder(IFolder, GranteePermission)

Shares a folder with people in organization.
string ShareFolder(
	IFolder folder,
	GranteePermission permission = GranteePermission.View
)string ShareFolder(
	IFolder folder,
	GranteePermission permission = GranteePermission.View
)
folder IFolder
The folder to share.
permission GranteePermission (Optional)
The type of permission that will be granted.

ShareFolder(IFolder, String, Nullable<DateTime>, GranteePermission)

Shares a folder with anyone.
string ShareFolder(
	IFolder folder,
	string passwordForSharingLink = null,
	DateTime? expirationDate = null,
	GranteePermission permission = GranteePermission.View
)string ShareFolder(
	IFolder folder,
	string passwordForSharingLink = null,
	DateTime? expirationDate = null,
	GranteePermission permission = GranteePermission.View
)
folder IFolder
The folder to share.
passwordForSharingLink String (Optional)
An optional password of the sharing link. Available on premium personal OneDrive accounts.
expirationDate Nullable<DateTime> (Optional)
An optional expiration date time of the permission. Available on premium personal OneDrive accounts.
permission GranteePermission (Optional)
The type of permission that will be granted.

ShareFolder(IFolder, IEnumerable<String>, String, Boolean, GranteePermission)

Shares a folder with specific people.
string ShareFolder(
	IFolder folder,
	IEnumerable<string> recipients,
	string message = null,
	bool sendSharingInvitationEmail = true,
	GranteePermission permission = GranteePermission.View
)string ShareFolder(
	IFolder folder,
	IEnumerable<string> recipients,
	string message = null,
	bool sendSharingInvitationEmail = true,
	GranteePermission permission = GranteePermission.View
)
folder IFolder
The folder to share.
recipients IEnumerable<String>
The email addresses of recipients to receive access and, optionally, a sharing invitation.
message String (Optional)
A plain text to include in the sharing invitation email.
sendSharingInvitationEmail Boolean (Optional)
Specifies whether to send a sharing invitation email to the recipients.
permission GranteePermission (Optional)
The type of permission that will be granted.

Return value

String - The web URL of the sharing link.

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.