User Group Access Control

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

Table Type: System

Table Name: User Group Access Control
Database Table Name:

Table Number: 9002

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 Group Access Control can be queried.

Show/hide an example select of all columns

SELECT
   *
FROM
   []

Show/hide an example select of all columns by name

SELECT

FROM
   []

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

SELECT
   *
FROM
   [] AS [User Group Access Control]
LEFT JOIN
   [User] AS [User]
      ON
         [User Group Access Control].[User Security ID] = [User].[User Security ID]
LEFT JOIN
   [Company] AS [Company]
      ON
         [User Group Access Control].[Company Name] = [Company].[Name]
LEFT JOIN
   [User] AS [User]
      ON
         [User Group Access Control].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [User Group Access Control].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in User Group Access Control table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1User Group Code SearchUser Group CodeNormalCode20
2User Security ID Primary Key SearchUser Security IDNormalGUID16
Key to join to the User table.

Show/hide example query

SELECT
	       [User Group Access Control].[]
	       ,[User].[User Security ID]
	FROM
	       [] AS [User Group Access Control]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [User Group Access Control].[] = [User].[User Security ID]
3Role ID Primary Key SearchRole IDNormalCode20
4Company Name Primary Key SearchCompany NameNormalText30
Key to join to the Company table.

Show/hide example query

SELECT
	       [User Group Access Control].[]
	       ,[Company].[Name]
	FROM
	       [] AS [User Group Access Control]
	LEFT JOIN
	       [Company] AS [Company]
	              ON
	                     [User Group Access Control].[] = [Company].[Name]
5User Name Primary Key SearchUser NameFlowFieldCode50
6Scope SearchScopeNormalOption4
7App ID Primary Key SearchApp IDNormalGUID16
2000000000$systemId Primary Key SearchSystem IDNormalGUID16
2000000001SystemCreatedAt SearchCreated AtNormalDateTime8
2000000002SystemCreatedBy SearchCreated ByNormalGUID16
Key to join to the User table.

Show/hide example query

SELECT
	       [User Group Access Control].[]
	       ,[User].[User Security ID]
	FROM
	       [] AS [User Group Access Control]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [User Group Access Control].[] = [User].[User Security ID]
2000000003SystemModifiedAt SearchModified AtNormalDateTime8
2000000004SystemModifiedBy SearchModified ByNormalGUID16

Leave a Reply

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