User Property

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

Table Type: System

Table Name: User Property
Database Table Name: User Property

Table Number: 2000000121

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 Property can be queried.

Show/hide an example select of all columns

SELECT
   *
FROM
   [User Property]

Show/hide an example select of all columns by name

SELECT
   [User Security ID]
   ,[Password]
   ,[Name Identifier]
   ,[Authentication Key]
   ,[WebServices Key]
   ,[WebServices Key Expiry Date]
   ,[Authentication Object ID]
   ,[Directory Role ID]
   ,[Directory Role ID List]
   ,[Telemetry User ID]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [User Property]

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

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

Show/hide columns in User Property table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1User Security ID Primary Key SearchUser Security IDNormalGUID16User Security IDuniqueidentifier
Key to join to the User table.

Show/hide example query

SELECT
       [User Property].[User Security ID]
       ,[User].[User Security ID]
FROM
       [User Property] AS [User Property]
LEFT JOIN
       [User] AS [User]
              ON
                     [User Property].[User Security ID] = [User].[User Security ID]
2Password SearchPasswordNormalText80Passwordnvarchar(160)
3Name Identifier SearchName IdentifierNormalText250Name Identifiernvarchar(500)
4Authentication Key SearchAuthentication KeyNormalText80Authentication Keynvarchar(160)
5WebServices Key SearchWebServices KeyNormalText80WebServices Keynvarchar(160)
6WebServices Key Expiry Date SearchWebServices Key Expiry DateNormalDateTime8WebServices Key Expiry Datedatetime
7Authentication Object ID SearchAuthentication Object IDNormalText80Authentication Object IDnvarchar(160)
8Directory Role ID SearchDirectory Role IDNormalText80Directory Role IDnvarchar(160)
9Directory Role ID List SearchDirectory Role ID ListNormalBLOB8Directory Role ID Listimage
10Telemetry User ID SearchTelemetry User IDNormalGUID16Telemetry User IDuniqueidentifier
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 Property].[$systemCreatedBy]
       ,[User].[User Security ID]
FROM
       [User Property] AS [User Property]
LEFT JOIN
       [User] AS [User]
              ON
                     [User Property].[$systemCreatedBy] = [User].[User Security ID]
2000000003SystemModifiedAt SearchModified AtNormalDateTime8$systemModifiedAtdatetime
2000000004SystemModifiedBy SearchModified ByNormalGUID16$systemModifiedByuniqueidentifier
Key to join to the User table.

Show/hide example query

SELECT
       [User Property].[$systemModifiedBy]
       ,[User].[User Security ID]
FROM
       [User Property] AS [User Property]
LEFT JOIN
       [User] AS [User]
              ON
                     [User Property].[$systemModifiedBy] = [User].[User Security ID]

Leave a Reply

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