public Guid GetUserIdByOrganizationService(IOrganizationService service)
{
var userRequest = new WhoAmIRequest();
var userResponse = (WhoAmIResponse)service.Execute(userRequest);
return userResponse.UserId;
}crm2011通过服务得到当前用户id,布布扣,bubuko.com
crm2011通过服务得到当前用户id
原文:http://blog.csdn.net/y_f123/article/details/25457063