共用方式為


3.1.1.3.9 Roles Table

The entries in the Roles table represent roles.

Table identifier: {CD331D11-C739-11D1-9D35-006008B0E5CA}

AuxiliaryGuid: None.

Defined in catalog version: All catalog versions.

Prerequisites: None.

Hidden bitness property: No.

Supported query templates:

Cell 1

ConglomerationIdentifier equals <A>

Primary key: ConglomerationIdentifier, RoleName.

Other referential constraints: There MUST exist a conglomeration with the conglomeration identifier specified in ConglomerationIdentifier.

Write restrictions: Add, update, and remove MUST be supported if and only if:

  •  The conglomeration identified by ConglomerationIdentifier has the value "Y" for Changeable.

  •  The conglomeration identified by ConglomerationIdentifier has the value "N" for IsSystem.

  •  Catalog version 4.00 and catalog version 5.00: The partition containing the conglomeration identified by ConglomerationIdentifier has the value "Y" for Changeable.

Cascade: On removal of an entry, all entries in the RoleMembers (section 3.1.1.3.10), RolesForComponent (section 3.1.1.3.13), RolesForInterface (section 3.1.1.3.14), and RolesForMethod (section 3.1.1.3.15) tables with identical values for ConglomerationIdentifier and RoleName properties MUST be removed.

Populate: None.

Properties:

Index (3.00/4.00/5.00)

Property name

Type

Size

Flags

Meta

0

ConglomerationIdentifier

eDT_GUID

16

0x00000003

RO

1

RoleName

eDT_LPWSTR

variable

0x00000003

RO

2

Description

eDT_LPWSTR

variable

0x00000000

IN

ConglomerationIdentifier: The conglomeration associated with the role. There MUST be an entry for this ID in the conglomeration table.

RoleName: A NameProperty (section 2.2.2.6) providing a human-readable name for the role.<202> The RoleName MUST be unique for a given conglomerationID specified in the ConglomerationIdentifier property.

Description: A DescriptionProperty (section 2.2.2.7) providing a human-readable description for the role.<203>