Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/2000000120
Table Type: System
Table Name: User
Database Table Name: User
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 can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[User]
Show/hide an example select of all columns by name
SELECT
[User Security ID]
,[User Name]
,[Full Name]
,[State]
,[Expiry Date]
,[Windows Security ID]
,[Change Password]
,[License Type]
,[Authentication Email]
,[Contact Email]
,[Exchange Identifier]
,[Application ID]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[User]
Show/hide an example select of all columns including those from all joined tables
SELECT
*
FROM
[User] AS [User]
LEFT JOIN
[User] AS [User]
ON
[User].[User Security ID] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[User].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[User].[SystemModifiedBy] = [User].[User Security ID]