Cmdlets for Box

Build 24.0.9062

LockFile

Lock a file.

Input

Name Type Description
FileId String The Id of the file to lock.
ExpiresAt Datetime The time the lock expires. If there is no value for this field, the file will be locked for an unlimited amount of time until you unlock it manually.
PreventDownload Bool Whether or not the file can be downloaded while locked.

デフォルト値はfalseです。

AsUserId String The Id of the user you want to impersonate. Only works with Admin, Co-Admin and Service Accounts.

Result Set Columns

Name Type Description
Success Bool Whether or not the file was successfully locked.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9062