AttrValue Property

Attribute value for the current entry.

Syntax

ANSI (Cross Platform)
int GetAttrValue(int iAttrIndex, char* &lpAttrValue, int &lenAttrValue);
int SetAttrValue(int iAttrIndex, const char* lpAttrValue, int lenAttrValue); Unicode (Windows) INT GetAttrValue(INT iAttrIndex, LPSTR &lpAttrValue, INT &lenAttrValue);
INT SetAttrValue(INT iAttrIndex, LPCSTR lpAttrValue, INT lenAttrValue);
- (NSString*)attrValue:(int)attrIndex;
- (void)setAttrValue:(int)attrIndex:(NSString*)newAttrValue;

- (NSData*)attrValueB:(int)attrIndex; - (void)setAttrValueB:(int)attrIndex:(NSData*)newAttrValue;
#define PID_LDAP_ATTRVALUE 5

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

""

Remarks

Attribute value for the current entry.

If the value is part of a set of values, the AttributeType that contains the corresponding attribute type is an empty string, and the attribute type for the set is specified in the previous attribute of the properties with a non-empty AttributeType.

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

Binary String

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