ClaimPropertyIndex Property

Selects a property.

Syntax

ANSI (Cross Platform)
int GetClaimPropertyIndex(int iClaimIndex);
int SetClaimPropertyIndex(int iClaimIndex, int iClaimPropertyIndex); Unicode (Windows) INT GetClaimPropertyIndex(INT iClaimIndex);
INT SetClaimPropertyIndex(INT iClaimIndex, INT iClaimPropertyIndex);
- (int)claimPropertyIndex:(int)claimIndex;
- (void)setClaimPropertyIndex:(int)claimIndex:(int)newClaimPropertyIndex;
#define PID_SAML_CLAIMPROPERTYINDEX 20

IPWORKSAUTH_EXTERNAL void* IPWORKSAUTH_CALL IPWorksAuth_SAML_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKSAUTH_EXTERNAL int IPWORKSAUTH_CALL IPWorksAuth_SAML_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
IPWORKSAUTH_EXTERNAL int IPWORKSAUTH_CALL IPWorksAuth_SAML_CheckIndex(void *lpObj, int propid, int arridx);

Default Value

0

Remarks

Selects a property. This is valid from 0 to ClaimPropertyCount. To inspect a property, first set this property and then inspect ClaimPropertyName and ClaimPropertyValue. For instance:

for(int i=0;i<component.Claims[0].PropertyCount;i++)
{
    component.Claims[0].PropertyIndex = i;
    Console.WriteLine(component.Claims[0].PropertyName + ": " + component.Claims[0].PropertyValue);
}

The ClaimIndex parameter specifies the index of the item in the array. The size of the array is controlled by the ClaimCount property.

This property is not available at design time.

Data Type

Integer

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