ConnectionRole Entity Metadata

[Applies to: Microsoft Dynamics CRM 2011]

The following information is for the connection role entity in a default, uncustomized installation of Microsoft Dynamics CRM. The schema name and early bound entity class name for this entity is ConnectionRole.

To view the entity metadata for your organization, install the Metadata Browser solution described in Browse the Metadata for Your Organization.

In This Topic

Entity Metadata

Privilege Metadata

Attribute Metadata

One-to-Many Relationships

Many-to-Many Relationships

Many-to-One Relationships

Entity Metadata

The following table shows the metadata for the connection role entity.

Entity metadata property Value

OTC

3231

EntityLogicalName

connectionrole

DisplayName

Connection Role

DisplayCollectionName

Connection Roles

IsCustomizable

True

OwnershipType

OrganizationOwned

AutoRouteToOwnerQueue

False

CanBeInManyToMany

False

CanBePrimaryEntityInRelationship

False

CanBeRelatedEntityInRelationship

False

CanCreateAttributes

False

CanCreateCharts

False

CanCreateForms

False

CanCreateViews

False

CanModifyAdditionalSettings

True

CanTriggerWorkflow

True

IsActivity

False

IsActivityParty

False

IsAuditEnabled

False

IsAvailableOffline

True

IsChildEntity

False

IsConnectionsEnabled

canmodifyconnectionsettings

IsCustomEntity

False

IsDocumentManagementEnabled

False

IsDuplicateDetectionEnabled

False

IsEnabledForCharts

False

IsImportable

False

IsIntersect

False

IsMailMergeEnabled

False

IsManaged

True

IsMappable

False

IsReadingPaneEnabled

True

IsRenameable

True

IsValidForAdvancedFind

True

IsValidForQueue

False

IsVisibleInMobile

False

PrimaryIdAttribute

connectionroleid

PrimaryNameAttribute

name

ReportViewName

FilteredConnectionRole

Description

Role describing a relationship between a two records.

Privilege Metadata

The following table shows the privilege metadata for the connection role entity.

PrivilegeName Id Type CanBeBasic CanBeDeep CanBeGlobal CanBeLocal

prvAppendConnectionRole

85b52f8f-38b1-443f-aa30-8f40b2293df6

Append

False

False

True

False

prvAppendToConnectionRole

6a97393c-2af0-45dc-ba0a-949f2f96e94e

AppendTo

False

False

True

False

prvCreateConnectionRole

48dc99c2-cb65-49e5-87ef-a792132f161c

Create

False

False

True

False

prvDeleteConnectionRole

8892d63a-cc87-40ab-8e7c-c902937969e3

Delete

False

False

True

False

prvReadConnectionRole

59916a03-13b2-4d03-9493-e030fb5b18de

Read

False

False

True

False

prvWriteConnectionRole

d8551d81-b5f5-42a0-b16a-be927ed04aa9

Write

False

False

True

False

Attribute Metadata

The following table shows the attribute metadata for the connection role entity.

LogicalName SchemaName Type RequiredLevel IsValidForCreate IsValidForRead IsValidForUpdate CanBeSecuredForCreate CanBeSecuredForRead CanBeSecuredForUpdate IsCustomizable IsAuditEnabled IsManaged IsPrimaryId IsPrimaryName IsRenameable IsSecured IsValidForAdvancedFind DisplayName DeprecatedVersion Description

category

Category

Picklist

None

True

True

True

False

False

False

True

True

True

False

False

False

False

True

Connection Role Category

Categories for connection roles.

componentstate

ComponentState

Picklist

SystemRequired

False

True

False

False

False

False

True

True

True

False

False

False

False

False

Component State

State of the component.

connectionroleid

ConnectionRoleId

Uniqueidentifier

SystemRequired

True

True

False

False

False

False

False

False

True

True

False

False

False

True

Connection Role

Unique identifier of the connection role.

connectionroleidunique

ConnectionRoleIdUnique

Uniqueidentifier

SystemRequired

False

True

False

False

False

False

False

False

True

False

False

False

False

False

Unique ID

Unique identifier of the published or unpublished connection role record.

createdby

CreatedBy

Lookup

None

False

True

False

False

False

False

False

False

True

False

False

False

False

True

Created By

Unique identifier of the user who created the relationship role.

createdon

CreatedOn

DateTime

None

False

True

False

False

False

False

False

False

True

False

False

False

False

True

Created On

Date and time when the connection role was created.

createdonbehalfby

CreatedOnBehalfBy

Lookup

None

False

True

False

False

False

False

True

False

True

False

False

False

False

True

Created By (Delegate)

Unique identifier of the delegate user who created the relationship role.

description

Description

String

None

True

True

True

False

False

False

True

True

True

False

False

False

False

True

Description

Description of the connection role.

importsequencenumber

ImportSequenceNumber

Integer

None

True

True

False

False

False

False

True

True

True

False

False

False

False

True

Import Sequence Number

Unique identifier of the data import or data migration that created this record.

iscustomizable

IsCustomizable

ManagedProperty

SystemRequired

True

True

True

False

False

False

False

False

True

False

False

False

False

False

Customizable

Information that specifies whether this component can be customized.

ismanaged

IsManaged

Boolean

SystemRequired

False

True

False

False

False

False

True

True

True

False

False

False

False

False

State

Indicates whether the solution component is part of a managed solution.

modifiedby

ModifiedBy

Lookup

None

False

True

False

False

False

False

False

False

True

False

False

False

False

True

Modified By

Unique identifier of the user who last modified the connection role.

modifiedon

ModifiedOn

DateTime

None

False

True

False

False

False

False

False

False

True

False

False

False

False

True

Modified On

Date and time when the connection role was last modified.

modifiedonbehalfby

ModifiedOnBehalfBy

Lookup

None

False

True

False

False

False

False

True

False

True

False

False

False

False

True

Modified By (Delegate)

Unique identifier of the delegate user who modified the relationship role.

name

Name

String

SystemRequired

True

True

True

False

False

False

True

True

True

False

True

False

False

True

Name

Name of the connection role.

organizationid

OrganizationId

Lookup

SystemRequired

False

True

False

False

False

False

False

False

True

False

False

False

False

False

Organization

Unique identifier of the organization that this connection role belongs to.

overwritetime

OverwriteTime

DateTime

SystemRequired

False

True

False

False

False

False

True

True

True

False

False

False

False

False

Overwritten On

Date and time when the record was last overwritten.

solutionid

SolutionId

Uniqueidentifier

SystemRequired

False

True

False

False

False

False

False

False

True

False

False

False

False

False

Solution

Unique identifier of the associated solution.

statecode

StateCode

State

SystemRequired

False

True

False

False

False

False

True

True

True

False

False

False

False

True

Status

Status of the connection role.

statuscode

StatusCode

Status

None

True

True

True

False

False

False

True

True

True

False

False

False

False

True

Status Reason

Reason for the status of the connection role.

supportingsolutionid

SupportingSolutionId

Uniqueidentifier

None

False

False

False

False

False

False

False

False

True

False

False

False

False

False

Solution

For internal use only.

versionnumber

VersionNumber

BigInt

None

False

True

False

False

False

False

False

False

True

False

False

False

False

False

Version Number

Version number of the connection role.

One-to-Many Relationships

The following table shows the entities that are the referencing entity in a one-to-many relationship with the connection role entity.

Relationship schema name Referencing entity

Connection_Role_AsyncOperations

asyncoperation

connection_role_connections1

connection

connection_role_connections2

connection

connection_role_connection_role_object_type_codes

connectionroleobjecttypecode

ConnectionRole_ProcessSessions

processsession

userentityinstancedata_connectionrole

userentityinstancedata

Many-to-Many Relationships

The following table shows the many-to-many relationships for the connection role entity.

Relationship schema name Entity 1 Entity 2 Intersect entity name

connectionroleassociation_association

connectionrole

connectionrole

connectionroleassociation

For information about using intersect entities, see Retrieve Records for Many-To-Many Relationships Using Intersect Entities.

Many-to-One Relationships

The following table shows the entities that are the referenced entity in a many-to-one relationship with the connection role entity.

Relationship schema name Referenced entity

organization_connection_roles

organization

createdby_connection_role

systemuser

lk_connectionrolebase_createdonbehalfby

systemuser

modifiedby_connection_role

systemuser

lk_connectionrolebase_modifiedonbehalfby

systemuser

See Also

Reference

EntityMetadata
AttributeMetadata
OneToManyRelationshipMetadata
ManyToManyRelationshipMetadata

Concepts

ConnectionRole Entity Messages and Methods
ConnectionRole Entity OptionSet Attribute Metadata
ConnectionRole Entity Privileges

Microsoft Dynamics CRM 2011
Send comments about this topic to Microsoft.
© 2013 Microsoft Corporation. All rights reserved.