Is there a log table where I can see the user information that assigns roles to users in AX 2012 ?
For example, how do I get the user information that assigns the Accountant role to x users. Does anyone have information ?
Is there a log table where I can see the user information that assigns roles to users in AX 2012 ?
For example, how do I get the user information that assigns the Accountant role to x users. Does anyone have information ?
You need to write query to get it.
Go to SQL: (change the AXPRDDB to your AX database name)
select sur.USER_ [User Id], sr.AotName, case when left(sr.Name, 1) = '@' then xr.Text else sr.NAME end as [Name], sur.VALIDFROM, sur.VALIDTO
from AXDB.dbo.SECURITYUSERROLE sur
inner join AXDB_model.dbo.SecurityRole sr on sur.SECURITYROLE = sr.RecId
left join AXDB_model.dbo.ModelElementLabel xr on (case when
left(sr.NAME, 1) = '@' then (case when cast(SUBSTRING(sr.NAME, 5, 7) as int) = xr.LabelId and SUBSTRING(sr.NAME, 2, 3) = xr.Module then 1 else 0 end) else 0 end) = 1 and xr.Language = 'en_us'
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,280 Super User 2024 Season 2
Martin Dráb 230,214 Most Valuable Professional
nmaenpaa 101,156