[英]How to access the team structure of AX database from .net web application?
I need to access the team structure of the company using .net web application, which is stored in AX database. 我需要使用.net Web应用程序访问公司的团队结构,该应用程序存储在AX数据库中。 As I have to specify user privileges based on their department and role . 因为我必须根据用户的部门和角色指定用户特权。
I have searched for it, most of them saying that I have to use business connector. 我已经搜索过了,大多数人说我必须使用商务连接器。 But my question is can I connect the AX's database with out installing business connector? 但是我的问题是我可以在不安装业务连接器的情况下连接AX的数据库吗? If so, then what is the connection string? 如果是这样,那么连接字符串是什么?
Thanks 谢谢
When necessary handling /access data, consider strongly the use of Services/ AIF or .NET Business Connector . 必要时处理/访问数据, 强烈考虑使用服务/ AIF或.NET业务连接器 。 that way you keep access logic data / permissions and business rules inside AX. 这样,您可以将访问逻辑数据/权限和业务规则保留在AX中。 (Manipulate data directly into the AX database is usually a bad idea) (将数据直接处理到AX数据库中通常不是一个好主意)
However, if your need is just some simple data access, read only , you can create Views within the AX and access this Views by another application using SQL Server Connection Strings (consider these "views/queries" the data permissions "joins/ranges") 但是,如果您仅需要一些简单的数据访问( 只读) ,则可以在AX内创建视图 ,并使用SQL Server连接字符串由另一个应用程序访问此视图(考虑这些“视图/查询”的数据权限为“连接/范围”)。 )
See this link: 看到这个链接:
https://msdn.microsoft.com/en-us/library/aa877498.aspx https://msdn.microsoft.com/zh-CN/library/aa877498.aspx
I hope this helps! 我希望这有帮助!
Regards, 问候,
Rodolfo Recalde 鲁道夫·雷卡尔德
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.