2.2.3.1 mapping

This type is used to define a set of account maps when returned as output from the map enumeration procedure. For more details, see section 2.2.5.5.

 struct mapping {
     sequence_number Token;
     long MappingRecordCount;
     long TotalMappingRecordCount;
     mapping_record MapArray[MappingRecordCount];
 };

Token: A sequence_number (section 2.2.2.21) that represents the current version of the data set maintained by the User Name Mapping Protocol server.

MappingRecordCount: An XDR-encoded, 32-bit signed integer that indicates the number of records that are returned in MapArray.

TotalMappingRecordCount: A 32-bit signed integer value that indicates the total number of mapping records of the specified PrincipalType (as specified in section 2.2.5.5) held by the server that are available to be enumerated.

MapArray: An array of account mapping records that is returned as a part of the current enumeration sequence, as specified in section 2.2.2.22.