AttrModOp Property

An operation to apply on attributes during an LDAP modify operation.

Syntax

ANSI (Cross Platform)
int GetAttrModOp(int iAttrIndex);
int SetAttrModOp(int iAttrIndex, int iAttrModOp); Unicode (Windows) INT GetAttrModOp(INT iAttrIndex);
INT SetAttrModOp(INT iAttrIndex, INT iAttrModOp);

Possible Values

AMO_ADD(0), 
AMO_DELETE(1),
AMO_REPLACE(2)
- (int)attrModOp:(int)attrIndex;
- (void)setAttrModOp:(int)attrIndex:(int)newAttrModOp;

Possible Values

AMO_ADD(0), 
AMO_DELETE(1),
AMO_REPLACE(2)
#define PID_LDAP_ATTRMODOP 4

IPWORKS_EXTERNAL void* IPWORKS_CALL IPWorks_LDAP_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKS_EXTERNAL int IPWORKS_CALL IPWorks_LDAP_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
IPWORKS_EXTERNAL int IPWORKS_CALL IPWorks_LDAP_CheckIndex(void *lpObj, int propid, int arridx);

Default Value

0

Remarks

An operation to apply on attributes during an LDAP modify operation.

Possible values include:

amoAdd (0)amoAdd will add the specified value to the given attribute, creating the attribute if it does not already exist.
amoDelete (1)amoDelete will delete the specified value from the given attribute. If all or none of the values are specified for the value, the entire attribute will be deleted; otherwise only the specific value(s) listed will be removed.
amoReplace (2)amoReplace will replace all existing values of the given attribute with the new values specified.

The AttrIndex parameter specifies the index of the item in the array. The size of the array is controlled by the AttrCount property.

This property is not available at design time.

Data Type

Integer

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 C++ Edition - Version 20.0 [Build 8307]