RADIUS_ATTRIBUTE structure (authif.h)

Note  Internet Authentication Service (IAS) was renamed Network Policy Server (NPS) starting with Windows Server 2008. The content of this topic applies to both IAS and NPS.
 
The RADIUS_ATTRIBUTE structure represents a RADIUS attribute or an extended attribute.

Syntax

typedef struct _RADIUS_ATTRIBUTE {
  DWORD            dwAttrType;
  RADIUS_DATA_TYPE fDataType;
  DWORD            cbDataLength;
  union {
    DWORD      dwValue;
    const BYTE *lpValue;
  };
} RADIUS_ATTRIBUTE, *PRADIUS_ATTRIBUTE;

Members

dwAttrType

Stores a value from the RADIUS_ATTRIBUTE_TYPE enumeration. This value specifies the type of the attribute represented by the RADIUS_ATTRIBUTE structure.

fDataType

Stores a value from the RADIUS_DATA_TYPE enumeration. This value specifies the type of the value stored in the union that contains the dwValue and lpValue members.

cbDataLength

Stores the length, in bytes, of the data. The cbDataLength member is used only if lpValue member is used.

dwValue

Stores a value of type DWORD. The dwValue member is used if the fDataType member specifies rdtAddress, rdtInteger, or rdtTime.

Note  In Windows Server 2008 the byte order format of dwValue is represented in network byte order (big-endian) when fDataType is specified as rdtAddress. Previous Windows versions represented network addressing using the little-endian format.
 

lpValue

Stores a multi-byte data value. The lpValue member is used if the fDataType member specifies rdtUnknown, rdtIpv6Address, or rdtString.

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2008
Header authif.h

See also

About NPS Extensions

NPS Extensions Reference

NPS Extensions Structures

RADIUS_ATTRIBUTE_TYPE

RADIUS_DATA_TYPE