_SID_AND_ATTRIBUTES_HASH structure

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

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

   
Windows version Windows Vista [desktop apps only] Windows Server 2008 [desktop apps only]
Header winnt.h (include Windows.h)

See Also

TOKEN_ACCESS_INFORMATION

TOKEN_INFORMATION_CLASS