AttrType Property
The type of the attribute.
Syntax
ANSI (Cross Platform) int GetAttrType(int iAttrIndex);
int SetAttrType(int iAttrIndex, int iAttrType); Unicode (Windows) INT GetAttrType(INT iAttrIndex);
INT SetAttrType(INT iAttrIndex, INT iAttrType);
- (int)attrType:(int)attrIndex; - (void)setAttrType:(int)attrIndex:(int)newAttrType;
#define PID_RADIUS_ATTRTYPE 2 IPWORKSAUTH_EXTERNAL void* IPWORKSAUTH_CALL IPWorksAuth_RADIUS_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKSAUTH_EXTERNAL int IPWORKSAUTH_CALL IPWorksAuth_RADIUS_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal); IPWORKSAUTH_EXTERNAL int IPWORKSAUTH_CALL IPWorksAuth_RADIUS_CheckIndex(void *lpObj, int propid, int arridx);
Default Value
0
Remarks
The type of the attribute.
This property identifies the type of the attribute. Common values are:
AttributeType | Meaning |
1 | User-Name |
2 | User-Password |
3 | CHAP-Password |
4 | NAS-IP-Address |
5 | NAS-Port |
6 | Service-Type |
7 | Framed-Protocol |
8 | Framed-IP-Address |
9 | Framed-IP-Netmask |
10 | Framed-Routing |
11 | Filter-Id |
12 | Framed-MTU |
13 | Framed-Compression |
14 | Login-IP-Host |
15 | Login-Service |
16 | Login-TCP-Port |
17 | (unassigned) |
18 | Reply-Message |
19 | Callback-Number |
20 | Callback-Id |
21 | (unassigned) |
22 | Framed-Route |
23 | Framed-IPX-Network |
24 | State |
25 | Class |
26 | Vendor-Specific |
27 | Session-Timeout |
28 | Idle-Timeout |
29 | Termination-Action |
30 | Called-Station-Id |
31 | Calling-Station-Id |
32 | NAS-Identifier |
33 | Proxy-State |
34 | Login-LAT-Service |
35 | Login-LAT-Node |
36 | Login-LAT-Group |
37 | Framed-AppleTalk-Link |
38 | Framed-AppleTalk-Network |
39 | Framed-AppleTalk-Zone |
40-59 | Reserved for accounting |
60 | CHAP-Challenge |
61 | NAS-Port-Type |
62 | Port-Limit |
63 | Login-LAT-Port |
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