アクティビティ
最新
生産性を高めるアクティビティ
Last updated 2024年6月21日

ファイルを共有

任意のユーザー、ドメイン、または指定した受信者とファイルを共有します。

名前空間: UiPath.Gsuite.Activities.API

アセンブリ: UiPath.Gsuite.Activities.API (UiPath.Gsuite.Activities.API.dll 内)

オーバー ロード

オーバーロード説明
ShareFile(IFile, Roles, Boolean)任意のユーザーとファイルを共有します。
ShareFile(IFile, String, Roles, Boolean)ファイルをドメインと共有します。

.

ShareFile(IFile, GranteeType, String, Boolean, Roles, Boolean)ファイルを指定した受信者と共有します。

ShareFile(IFile, Roles, Boolean)

任意のユーザーとファイルを共有します。
public string ShareFile(
	IFile file,
	Roles role = Roles.READER,
	bool useDomainAdminAccess = false
)public string ShareFile(
	IFile file,
	Roles role = Roles.READER,
	bool useDomainAdminAccess = false
)
file IFile
共有するファイルです。
role Roles (任意)
付与されるアクセス許可の種類です。
useDomainAdminAccess Boolean (任意)
ドメイン管理者として要求を発行するかどうかを指定します。

ShareFile(IFile, String, Roles, Boolean)

ファイルをドメインと共有します。
public string ShareFile(
	IFile file,
	string domain,
	Roles role = Roles.READER,
	bool useDomainAdminAccess = false
)public string ShareFile(
	IFile file,
	string domain,
	Roles role = Roles.READER,
	bool useDomainAdminAccess = false
)
file IFile
共有するファイルです。
domain String
ファイルへのアクセス権を付与するドメインです。
file IFile
共有するファイルです。
useDomainAdminAccess Boolean (任意)

ドメイン管理者として要求を発行するかどうかを指定します。

ShareFile(IFile, GranteeType, String, Boolean, Roles, Boolean)

ファイルを指定した受信者と共有します。
public string ShareFile(
	IFile file,
	GranteeType shareWith,
	string recipients,
	bool sendNotificationEmail = true,
	Roles role = Roles.READER,
	bool useDomainAdminAccess = false
)public string ShareFile(
	IFile file,
	GranteeType shareWith,
	string recipients,
	bool sendNotificationEmail = true,
	Roles role = Roles.READER,
	bool useDomainAdminAccess = false
)
file IFile
共有するファイルです。
shareWith GranteeType
ファイルにアクセスできるユーザーを指定します。
recipients String
ファイルへのアクセス権を付与するユーザーまたはグループのメール アドレスです。
sendNotificationEmail Boolean (任意)
通知メールを送信するかどうかを指定します。
role Roles (任意)
付与されるアクセス許可の種類です。
useDomainAdminAccess Boolean (任意)

ドメイン管理者として要求を発行するかどうかを指定します。

戻り値

String - 共有ファイルの Web URL です。

Was this page helpful?

サポートを受ける
RPA について学ぶ - オートメーション コース
UiPath コミュニティ フォーラム
UiPath ロゴ (白)
信頼とセキュリティ
© 2005-2024 UiPath. All rights reserved.