Data.Cloud.AzureAPI.TAccessPolicy.Permission

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Permission: string read GetPermission write SetPermission;

C++

__property System::UnicodeString Permission = {read=GetPermission, write=SetPermission};

Properties

Type Visibility Source Unit Parent
property public
Data.Cloud.AzureAPI.pas
Data.Cloud.AzureAPI.hpp
Data.Cloud.AzureAPI TAccessPolicy

Description

String representation of the permissions of the access policy.

Each permission is represented by its first letter:

Letter Permission
r PermRead
w PermWrite
d PermDelete
l PermList

The string is "rwdl" if all permissions are granted. If any of the four permissions is not granted, the corresponding letter is removed from the string. For example, if only the read permission is granted, Permission is "r". If all permissions but write permission are granted, Permission is "rdl".

When you specify a value for Permission, you may alter the order of the letters. However, when you read the value of Permission, the order of the letter is always the same. For example, you may give Permission either "rw" or "wr" as value to grant read and write permissions only, however when you read the value of Permission that value is "rw", never "wr", regardless of the value that you used to define the permissions.

See Also