Personalized Community is here!
Quickly customize your community to find the content you seek.
Choose your path Increase your proficiency with the Dynamics 365 applications that you already use and learn more about the apps that interest you. Up your game with a learning path tailored to today's Dynamics 365 masterminds and designed to prepare you for industry-recognized Microsoft certifications.
Visit Microsoft Learn
2022 Release Wave 1 PlanDynamics 365 release plan for the 2022 release wave 1 describes all new features releasing from April 2022 through September 2022.
2022 release wave 1 plan
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Community | FastTrack Program | Finance and Operations TechTalks | Customer Engagement TechTalks | Upcoming TechTalks | All TechTalks
we are using NAV 2018 source. I am SQL developer, where I want all users information related to Roles, Groups, Access levels for auditing purposes. I have the following tables. But the result I am getting it's huge. Around 10 Million records popping up which I feel might not be correct. Below are the table list and joining condition. Kindly let and let me know if I am doing it right.
,u.WindowsSecurityID as UserSID
, o.[Name] as TableName
, o.[ID] as TableID
,CASE WHEN p.[ReadPermission] = 1 THEN CONVERT(NVARCHAR(20),'Read Permission') END AS Read_Permission
,CASE WHEN p.[InsertPermission]=1 THEN CONVERT(NVARCHAR(20),'Insert Permission') END AS Insert_Permission
,CASE WHEN p.[ModifyPermission]=1 THEN CONVERT(NVARCHAR(20),'Modify Permission') END AS Modify_Permission
,CASE WHEN p.[DeletePermission]=1 THEN CONVERT(NVARCHAR(20),'Delete Permission') END AS Delete_Permission
,CASE WHEN p.[ExecutePermission]=1 THEN CONVERT(NVARCHAR(20),'Execute Permission') END AS Execute_Permission
[User] u (nolock)
AccessControl ac (nolock)
Permission p (nolock)
and p.[ObjectType]=0 -- (Type = 0 is for Table .. I guess)
and (p.[ReadPermission] = 1 or p.[InsertPermission] = 1 or p.[ModifyPermission] = 1 or p.[DeletePermission] = 1 or p.[ExecutePermission] = 1 )
Object o (nolock)
ON o.[ID] = p.[ObjectID] and [Type]=0 -- (Type = 0 is for Table .. I guess)
ON ps.RoleID = p.RoleID
UserGroupMember ugm (nolock)
ON ugm.UserSecurityID = ac.UserSecurityID and ugm.CompanyName = ac.CompanyName
UserGroup ug (nolock)
ON ug.Code = ugm.UserGroupCode
NULLIF(u.[UserName],'') IS NOT NULL
You can try with. Hope it will help you.
select y.[User Name],x.[Role ID],Name 'Permission Name', case y.State when 0 then 'Enabled' when 1 then 'Disabled' end as 'User Status',
[UAT_TEST$User Setup].[Unit Filter],[UAT_TEST$User Setup].[No_ of Back Days],
from [Access Control] x
left join [User] y on x.[User Security ID]=y.[User Security ID]
left join [UAT_TEST$User Setup] on y.[User Name]=[UAT_TEST$User Setup].[User ID]
left join [Permission Set] z on x.[Role ID]=z.[Role ID]
where y.[User Name]<>''
order by y.[User Name] asc OFFSET 0 ROWS
Business Applications communities