Partager via


AttributeAt Callback Function

The AttributeAt function returns a const pointer to the specified attribute within the array.

RADIUS_ATTRIBUTE * WINAPI AttributeAt(
  [in]                 _RADIUS_ATTRIBUTE_ARRAY* This,
  [in]                 DWORD dwIndex
);

Parameters

  • This
    Pointer to the RADIUS_ATTRIBUTE_ARRAY structure that represents the array of attributes from which to retrieve the specified attribute.

    The GetRequest and GetResponse functions return pointers to RADIUS_ATTRIBUTE_ARRAY structures.

  • dwIndex
    Specifies the index of the attribute to retrieve. The function returns NULL if this index is out of range.

    Use the GetSize function to determine the size of the array. The largest index is one less than the size of the array.

Return Value

If the function succeeds, the return value is a pointer to a RADIUS_ATTRIBUTE structure.

If the function fails, the return value is NULL.

Remarks

This function is provided by Internet Authentication Service (IAS). IAS returns a pointer to this function as a member of the RADIUS_ATTRIBUTE_ARRAY structure.

Requirements

Server

Requires Windows Server 2008 or Windows Server 2003.

Header

Declared in AuthIf.h.

See Also

About Internet Authentication Service
Internet Authentication Service Reference
Internet Authentication Service Functions
RADIUS_ATTRIBUTE
RADIUS_ATTRIBUTE_ARRAY

Send comments about this topic to Microsoft

Build date: 10/1/2007