User Metadata

Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/2000000075

Table Type: System

Table Name: User Metadata
Database Table Name: User Metadata

Table Number: 2000000075

Due to how Dynamics BC tables and columns are named, square brackets need to be wrapped around the table name and column names. Below are example queries showing how User Metadata can be queried.

Show/hide an example select of all columns

SELECT
   *
FROM
   [User Metadata]

Show/hide an example select of all columns by name

SELECT
   [User SID]
   ,[Page ID]
   ,[Date]
   ,[Time]
   ,[Personalization ID]
   ,[Page Metadata Delta]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [User Metadata]

Show/hide an example select of all columns including those from all joined tables

SELECT
   *
FROM
   [User Metadata] AS [User Metadata]
LEFT JOIN
   [User] AS [User]
      ON
         [User Metadata].[User SID] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [User Metadata].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [User Metadata].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in User Metadata table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
3User SID SearchUser SIDNormalGUID16User SIDuniqueidentifier
Key to join to the User table.

Show/hide example query

SELECT
	       [User Metadata].[User SID]
	       ,[User].[User Security ID]
	FROM
	       [User Metadata] AS [User Metadata]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [User Metadata].[User SID] = [User].[User Security ID]
6User ID Primary Key SearchUser IDFlowFieldCode50
9Page ID SearchPage IDNormalInteger4Page IDint
12Description Primary Key SearchDescriptionFlowFieldText250
15Date SearchDateNormalDate4Datedatetime
18Time SearchTimeNormalTime4Timedatetime
21Personalization ID SearchPersonalization IDNormalCode40Personalization IDnvarchar(80)
24Page Metadata Delta Primary Key SearchPage Metadata DeltaNormalBLOB8Page Metadata Deltaimage
2000000000$systemId SearchSystem IDNormalGUID16$systemIduniqueidentifier
2000000001SystemCreatedAt SearchCreated AtNormalDateTime8$systemCreatedAtdatetime
2000000002SystemCreatedBy SearchCreated ByNormalGUID16$systemCreatedByuniqueidentifier
Key to join to the User table.

Show/hide example query

SELECT
	       [User Metadata].[$systemCreatedBy]
	       ,[User].[User Security ID]
	FROM
	       [User Metadata] AS [User Metadata]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [User Metadata].[$systemCreatedBy] = [User].[User Security ID]
2000000003SystemModifiedAt SearchModified AtNormalDateTime8$systemModifiedAtdatetime
2000000004SystemModifiedBy SearchModified ByNormalGUID16$systemModifiedByuniqueidentifier

Leave a Reply

Your email address will not be published. Required fields are marked *