SID_AND_ATTRIBUTES_HASH structure (winnt.h)

The SID_AND_ATTRIBUTES_HASH structure specifies a hash values for the specified array of security identifiers (SIDs).

Syntax

typedef struct _SID_AND_ATTRIBUTES_HASH {
  DWORD               SidCount;
  PSID_AND_ATTRIBUTES SidAttr;
  SID_HASH_ENTRY      Hash[SID_HASH_SIZE];
} SID_AND_ATTRIBUTES_HASH, *PSID_AND_ATTRIBUTES_HASH;

Members

SidCount

The number of SIDs pointed to by the SidAttr parameter.

SidAttr

A pointer to an array of SID_AND_ATTRIBUTES structures that represent SIDs and their attributes.

Hash[SID_HASH_SIZE]

An array of pointers to hash values. These values correspond to the SID_AND_ATTRIBUTES structures pointed to by the SidAttr parameter.

The SID_HASH_ENTRY data type is defined in Winnt.h as a ULONG_PTR.

The SID_HASH_SIZE array dimension is defined in Winnt.h as 32.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Header winnt.h (include Windows.h)

See also

TOKEN_ACCESS_INFORMATION

TOKEN_INFORMATION_CLASS