Tenant Permission Set Rel.

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

Table Type: System

Table Name: Tenant Permission Set Rel.
Database Table Name: Tenant Permission Set Rel_

Table Number: 2000000253

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 Tenant Permission Set Rel. can be queried.

Show/hide an example select of all columns

SELECT
   *
FROM
   [Tenant Permission Set Rel_]

Show/hide an example select of all columns by name

SELECT
   [App ID]
   ,[Role ID]
   ,[Related App ID]
   ,[Related Role ID]
   ,[Type]
   ,[Related Scope]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [Tenant Permission Set Rel_]

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

SELECT
   *
FROM
   [Tenant Permission Set Rel_] AS [Tenant Permission Set Rel.]
LEFT JOIN
   [User] AS [User]
      ON
         [Tenant Permission Set Rel.].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [Tenant Permission Set Rel.].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in Tenant Permission Set Rel. table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1App ID SearchApp IDNormalGUID16App IDuniqueidentifier
2Role ID Primary Key SearchRole IDNormalCode30Role IDnvarchar(60)
3Related App ID Primary Key SearchRelated App IDNormalGUID16Related App IDuniqueidentifier
4Related Role ID Primary Key SearchRelated Role IDNormalCode30Related Role IDnvarchar(60)
5Type Primary Key SearchTypeNormalOption4Typeint
Available options are:
  • “Include”
  • “Exclude”
6Related Scope SearchRelated ScopeNormalOption4Related Scopeint
Available options are:
  • “System”
  • “Tenant”
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
	       [Tenant Permission Set Rel.].[$systemCreatedBy]
	       ,[User].[User Security ID]
	FROM
	       [Tenant Permission Set Rel_] AS [Tenant Permission Set Rel.]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [Tenant Permission Set Rel.].[$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 *