UiPath Documentation
activities
latest
false
生産性を高めるアクティビティ
重要 :
このコンテンツの一部は機械翻訳によって処理されており、完全な翻訳を保証するものではありません。 新しいコンテンツの翻訳は、およそ 1 ~ 2 週間で公開されます。

ファイルを共有

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

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

名前空間: 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 です。

このページは役に立ちましたか?

接続

ヘルプ リソース サポート

学習する UiPath アカデミー

質問する UiPath フォーラム

最新情報を取得