PermissionModOp Property

The operation to perform on the permission.

Syntax

int GetPermissionModOp(int iPermissionIndex);
int SetPermissionModOp(int iPermissionIndex, int iPermissionModOp);

Possible Values

MO_NONE(0), 
MO_CREATE(1),
MO_UPDATE(2),
MO_DELETE(3)

Default Value

0

Remarks

The operation to perform on the permission.

This property is used to specify the operation that the class should perform on the permission when UpdatePermissions is called. Valid values are:

moNone (0) (default) No-Op (the class skips the permission).
moCreate (1) The permission will be created.
moUpdate (2) The permission will be updated.
moDelete (3) The permission will be deleted.

Refer to UpdatePermissions for more information.

The PermissionIndex parameter specifies the index of the item in the array. The size of the array is controlled by the PermissionCount property.

This property is not available at design time.

Data Type

Integer

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks Cloud 2020 Qt Edition - Version 20.0 [Build 8265]