how to fetch the details such as name,title, department name,group names, domain of users and groups of Active directory that are configured in table dbo.UserInfo using x++ coding in ax 2012 ??
Gopinath M said:dbo.UserInfo using x++ coding in ax 2012 ??
Why cannot you get the details from that table? Am i missing something?
I think, you should have been more specific in your original question.
You have to get the worker related to the user(user relations) and form there you need to get the department assigned to the worker. Have a look at HCMWorker.getPrimaryDepartment();
Aha, so it wasn't about "department name [...] and groups of Active directory" at all. :)