【发布时间】:2017-10-04 12:51:28
【问题描述】:
我正在尝试编译this 代码示例。
它依赖于 SystemUser:
// Now make an SDK call with the organization service proxy.
// Display information about the logged on user.
Guid userid = ((WhoAmIResponse)organizationProxy.Execute(
new WhoAmIRequest())).UserId;
SystemUser systemUser = organizationProxy.Retrieve("systemuser", userid,
new ColumnSet(new string[] { "firstname", "lastname" })).ToEntity<SystemUser>();
Console.WriteLine("Logged on user is {0} {1}.",
systemUser.FirstName, systemUser.LastName);
但是 SystemUser 是一个早期绑定的实体,不是吗?
是否有我可以使用的 SystemUser 实现? Microsoft 是否提供库?
【问题讨论】:
标签: c# .net visual-studio-2017 microsoft-dynamics dynamics-crm-2016