Partager via


2.2.18.5 CLAIM_ENTRY

The CLAIM_ENTRY structure specifies a single claim.

 typedef struct _CLAIM_ENTRY {
   CLAIM_ID Id;
   CLAIM_TYPE Type;
   [switch_is(Type), switch_type(CLAIM_TYPE)] 
     union {
     [case(CLAIM_TYPE_INT64)] 
       struct {
       [range(1, 10*1024*1024)] ULONG ValueCount;
       [size_is(ValueCount)] LONG64* Int64Values;
     };
     [case(CLAIM_TYPE_UINT64)] 
       struct {
       [range(1, 10*1024*1024)] ULONG ValueCount;
       [size_is(ValueCount)] ULONG64* Uint64Values;
     };
     [case(CLAIM_TYPE_STRING)] 
       struct {
       [range(1, 10*1024*1024)] ULONG ValueCount;
       [size_is(ValueCount), string] LPWSTR* StringValues;
     };
     [case(CLAIM_TYPE_BOOLEAN)] 
       struct {
       [range(1, 10*1024*1024)] ULONG ValueCount;
       [size_is(ValueCount)] ULONG64* BooleanValues;
     };
     [default]       ;
   } Values;
 } CLAIM_ENTRY,
  *PCLAIM_ENTRY;

Id: Specifies the claim identifier.

Type: Specifies the type of the data in the Values union. Refer to section 2.2.18.2 for allowed values and their interpretation.

Values: A union of arrays of the various types of claim values that a CLAIM_ENTRY can contain. The actual type of the elements is specified by the Type member.

ValueCount: Specifies the number of array elements in the Int64Values member.

Int64Values: An array of LONG64 values of the claim. The array has ValueCount elements.

ValueCount: Specifies the number of array elements in the Uint64Values member.

Uint64Values: An array of ULONG64 values of the claim. The array has ValueCount elements.

ValueCount: Specifies the number of array elements in the StringValues member.

StringValues: An array of null-terminated, Unicode string values of the claim. The array has ValueCount elements.

ValueCount: Specifies the number of array elements in the BooleanValues member.

BooleanValues: An array of ULONG64 values of the claim. The array has ValueCount elements.