PermissionList Event
This event fires once for each permission returned when calling ListPermissions.
Syntax
type TPermissionListEvent = procedure PermissionList(Sender: TObject; const Id: String; const ETag: String; Role: Integer; PermissionType: Integer; const Value: String) of object;property OnPermissionList: TPermissionListEvent read FOnPermissionList write FOnPermissionList;
Remarks
When calling ListPermissions this event will fire once for each permission that is returned.
Id is the Id of the permission.
ETag is the ETag of the permission.
Role is the role of the permission. Possible values are:
0 | Read-only. |
1 | Read and write permissions. |
2 | Full ownership. |
PermissionType identifies the type of the permission. Possible values are:
0 | A single user. |
1 | A group. |
2 | A domain. |
3 | Anyone, authenticated or not. |
Value holds the identity corresponding to the PermissionType. This may be an email address for a single user or a group, or a domain.