vcl-dxcloudstorage-e976a72b.md
Enumerates available access permission scopes.
TdxCloudStorageItemPermissionScope = (
Anonymous,
Organization
);
| Name | Description |
|---|---|
Anonymous |
A cloud storage service allows anonymous access to an online resource. Anyone with a shared link can access the target file or folder on a cloud storage server. All cloud storage providers support this access permission scope.
|
| Organization |
A cloud storage service forbids anonymous access to an online resource. Only those users that are signed into your organization (tenant) can follow a shared link to access the target resource on a cloud storage server. This functionality relies on Microsoft OneDrive® REST APIs and is available in the Microsoft OneDrive® file data provider component.
|
Important
Only Microsoft OneDrive for Business® and SharePoint® accounts support the Organization access permission scope. Other cloud storage services interpret this value as Anonymous.
The following public API members reference the TdxCloudStorageItemPermissionScope type:
A cloud storage item‘s Permissions.CreateSharedLink procedure accepts a TdxCloudStorageItemPermissionScope value as the AScope parameter.
The cloud storage component’s CreateSharedLink function accepts a TdxCloudStorageItemPermissionScope value as the AScope parameter.
Note
TdxCloudStorageItemPermissionScope is a scoped enumeration type. Use the type name together with a scope resolution token (. in Delphi or :: in C++Builder) followed by an enumeration value to refer to this value. For example, use TdxCloudStorageItemPermissionScope.Anonymous (in Delphi) or TdxCloudStorageItemPermissionScope::Anonymous (in C++Builder) to refer to the Anonymous value in code.
See Also