次の方法で共有


RAS_AUTH_ATTRIBUTE (Compact 2013)

3/26/2014

This structure is used to pass authentication attributes, of type RAS_AUTH_ATTRIBUTE_TYPE, during an EAP session.

Syntax

typedef struct _RAS_AUTH_ATTRIBUTE {
  RAS_AUTH_ATTRIBUTE_TYPE raaType;
  DWORD dwLength;
  PVOID Value;
} RAS_AUTH_ATTRIBUTE, *PRAS_AUTH_ATTRIBUTE;

Members

  • dwLength
    Specifies the length in bytes of the value of this attribute. If the Value member is a pointer, dwLength specifies the length of the buffer pointed to. If the Value member is the value itself, dwLength specifies how much of the length of the Value member is taken up by the value.
  • Value
    Specifies the value of the attribute. Although this member is of the PVOID type, this member sometimes contains the value of the attribute instead of pointing to the value. The only way to know whether to interpret the Value member as a pointer to the value or the value itself, is to check the raaType member. See the reference page for RAS_AUTH_ATTRIBUTE_TYPE for information about how the Value member should be interpreted for different types.

Remarks

Frequently an array of these structures is used to store or obtain a set of attributes for a given user. Because the number of attributes for a session is unknown, the array must be dynamic. The array is ended by a structure with an raaType member that has a value of raatMinimum.

Requirements

Header

raseapif.h

See Also

Reference

EAP Structures
RAS_AUTH_ATTRIBUTE_TYPE