首页 文章

重定向到动态CRM主页面

提问于
浏览
0

我正在开发一个Dynamic 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主页?

1 回答

相关问题