IPWorks Cloud 2020 C++ Edition

Questions / Feedback?

PermissionModOp Property

The operation to perform on the permission.

Syntax

ANSI (Cross Platform)
int GetPermissionModOp(int iPermissionIndex);
int SetPermissionModOp(int iPermissionIndex, int iPermissionModOp); Unicode (Windows) INT GetPermissionModOp(INT iPermissionIndex);
INT SetPermissionModOp(INT iPermissionIndex, INT iPermissionModOp);

Possible Values

MO_NONE(0), 
MO_CREATE(1),
MO_UPDATE(2),
MO_DELETE(3)
- (int)permissionModOp:(int)permissionIndex;
- (void)setPermissionModOp:(int)permissionIndex:(int)newPermissionModOp;

Possible Values

MO_NONE(0), 
MO_CREATE(1),
MO_UPDATE(2),
MO_DELETE(3)
#define PID_GOOGLEDRIVE_PERMISSIONMODOP 63

IPWORKSCLOUD_EXTERNAL void* IPWORKSCLOUD_CALL IPWorksCloud_GoogleDrive_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKSCLOUD_EXTERNAL int IPWORKSCLOUD_CALL IPWorksCloud_GoogleDrive_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
IPWORKSCLOUD_EXTERNAL int IPWORKSCLOUD_CALL IPWorksCloud_GoogleDrive_CheckIndex(void *lpObj, int propid, int arridx);

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 C++ Edition - Version 20.0 [Build 8265]