【发布时间】:2013-04-10 09:32:25
【问题描述】:
我正在开发一个动态 CRM 自定义在线身份验证登录。我现在可以检索登录的用户信息,我想将登录的用户重定向到 CRM 页面。以下是我所拥有的。
// 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>();
Response.Write("Logged on user is."+
systemUser.FirstName+" "+ systemUser.LastName);
记录的用户信息检索成功。如何重定向到CRM主页?
【问题讨论】:
标签: c# azure dynamics-crm-2011 dynamics-crm dynamics-crm-online